Function at 0x470390
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0xf40b4c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x70]
cmp eax, dword [ecx + 8]
jbe 0x471070
sub esp, 0xf0
mov eax, dword [esp + 0xfc]
test eax, eax
sete dl
mov ebx, dword [esp + 0xf8]
test ebx, ebx
xchg ebp, ebx
sete bl
xchg ebp, ebx
and ebp, edx
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x470871
mov ecx, dword [esp + 0x100]
test ecx, ecx
jg 0x4704a3
bsf edx, ebx
jne 0x4703ef
mov edx, 0x20
bsf ebp, eax
jne 0x4703f9
mov ebp, 0x20
mov esi, ecx
xchg esi, ebx
neg ebx
xchg esi, ebx
cmp ebx, 1
sbb edi, edi
xor edi, 0xffffffff
xchg edi, ebx
not ebx
xchg edi, ebx
and edi, ebp
add edx, edi
cmp esi, edx
jg 0x4704a3
mov edx, dword [esp + 0xf4]
mov dword [esp], edx
mov edx, ecx
mov ecx, esi
mov ebp, eax
shr eax, cl
shr ebx, cl
lea edi, [ecx - 0x20]
xchg edi, ebx
neg ebx
xchg edi, ebx
mov ecx, edi
shl ebp, cl
mov dword [esp + 0xd4], ebp
add edx, 0x20
neg edx
mov ecx, edx
mov ebp, dword [esp + 0xfc]
shr ebp, cl
cmp ecx, 0x20
sbb edx, edx
and ebp, edx
cmp esi, 0x20
sbb edx, edx
and eax, edx
mov dword [esp + 8], eax
and ebx, edx
cmp edi, 0x20
sbb edx, edx
mov esi, dword [esp + 0xd4]
and esi, edx
or esi, ebx
or ebp, esi
mov dword [esp + 4], ebp
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], ebp
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ebp
mov byte [esp + 0x1c], 1
mov byte [esp + 0x1d], 0
call fcn.00471080
add esp, 0xf0
ret
mov edx, dword [esp + 0x104]
mov ebp, dword [edx]
mov ecx, ebp
mov edi, 1
shl edi, cl
lea esi, [ecx - 0x20]
mov ecx, esi
mov edx, 1
shl edx, cl
neg ecx
mov ebx, 1
shr ebx, cl
cmp esi, 0x20
sbb esi, esi
and edx, esi
cmp ecx, 0x20
sbb esi, esi
and ebx, esi
or ebx, edx
cmp eax, ebx
setne dl
cmp ebp, 0x20
sbb ebx, ebx
and edi, ebx
mov ebx, dword [esp + 0xf8]
cmp ebx, edi
xchg esi, ebx
setne bl
xchg esi, ebx
or esi, edx
xchg esi, eax
test al, al
xchg esi, eax
je 0x47050e
mov ecx, dword [esp + 0x104]
mov ebp, dword [esp + 0x100]
jmp 0x470526
mov ecx, dword [esp + 0x104]
mov edx, dword [ecx + 8]
sub edx, ebp
inc edx
mov ebp, dword [esp + 0x100]
cmp ebp, edx
jne 0x47058e
mov edx, ebx
shl ebx, 1
mov dword [esp + 0xd4], ebx
shl eax, 1
mov esi, edx
shr edx, 0x1f
or edx, eax
mov dword [esp + 0xd0], edx
lea eax, [ebp - 1]
mov ebp, ebx
add ebx, 0xffffffff
mov edi, edx
adc edx, 0xffffffff
add ebp, 1
adc edi, 0
mov dword [esp + 0xe8], eax
mov eax, dword [esp + 0xd4]
mov dword [esp + 0x94], eax
mov dword [esp + 0xe0], ecx
mov ecx, dword [esp + 0xd0]
mov dword [esp + 0x98], ecx
mov eax, dword [esp + 0xe8]
mov ecx, dword [esp + 0xe0]
jmp 0x4705f1
mov edx, ebx
shl ebx, 2
mov dword [esp + 0xd4], ebx
shl eax, 2
mov edi, edx
shr edi, 0x1e
or edi, eax
mov dword [esp + 0xd0], edi
lea eax, [ebp - 2]
mov ebp, ebx
add ebx, 0xffffffff
mov esi, edi
adc esi, 0xffffffff
add ebp, 2
adc edi, 0
mov dword [esp + 0xd8], eax
mov eax, dword [esp + 0xd4]
mov dword [esp + 0x94], eax
mov edx, esi
mov esi, dword [esp + 0xd0]
mov dword [esp + 0x98], esi
mov esi, dword [esp + 0xf8]
mov eax, dword [esp + 0xd8]
test eax, eax
je 0x47082b
mov dword [esp + 0x6c], eax
mov dword [esp + 0x50], edx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x4c], ebx
neg eax
imul eax, eax, 0x13441
sar eax, 0x12
mov dword [esp + 0x24], eax
lea esi, [eax + 1]
mov dword [esp + 0x30], esi
lea eax, [0xf0d370]
cmp ecx, eax
jne 0x4706cc
mov dword [esp], ebx
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], eax
mov dword [esp + 8], esi
call fcn.00471580
mov eax, dword [esp + 0xc]
mov dword [esp + 0x7c], eax
movzx ecx, byte [esp + 0x14]
mov byte [esp + 0x21], cl
mov edx, dword [esp + 0x94]
mov dword [esp], edx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x30]
mov dword [esp + 8], ebp
call fcn.00471580
mov eax, dword [esp + 0xc]
mov dword [esp + 0x88], eax
movzx ecx, byte [esp + 0x14]
mov byte [esp + 0x22], cl
mov edx, dword [esp + 0x28]
mov dword [esp], edx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x30]
mov dword [esp + 8], ebx
call fcn.00471580
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
movzx edx, byte [esp + 0x14]
xor ebx, ebx
mov ebp, dword [esp + 0x7c]
xor esi, esi
mov edi, dword [esp + 0x88]
xor ebx, ebx
mov dword [esp + 0x78], ebx
jmp 0x4707a1
mov dword [esp + 4], edx
mov dword [esp], ebx
mov eax, dword [esp + 0x6c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], esi
call fcn.00471690
movzx eax, byte [esp + 0x1c]
mov byte [esp + 0x21], al
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x80], ecx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x84], edx
mov ebx, dword [esp + 0x98]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x94]
mov dword [esp], ebp
mov esi, dword [esp + 0x6c]
mov dword [esp + 8], esi
mov edi, dword [esp + 0x30]
mov dword [esp + 0xc], edi
call fcn.00471690
movzx eax, byte [esp + 0x1c]
mov byte [esp + 0x22], al
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x8c], ecx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x90], edx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x28]
mov dword [esp], ebp
mov esi, dword [esp + 0x6c]
mov dword [esp + 8], esi
mov esi, dword [esp + 0x30]
mov dword [esp + 0xc], esi
call fcn.00471690
mov ecx, dword [esp + 0x18]
movzx edx, byte [esp + 0x1c]
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x80]
mov esi, dword [esp + 0x90]
mov edi, dword [esp + 0x8c]
mov dword [esp + 0x78], ebx
mov ebx, dword [esp + 0x84]
test ecx, ecx
jge 0x471057
mov dword [esp + 0x90], esi
mov esi, dword [esp + 0x30]
cmp esi, 0x37
jle 0x4707c9
xor edx, edx
xor edx, edx
mov byte [esp + 0x22], dl
xor edx, edx
mov byte [esp + 0x21], dl
xor edx, edx
mov dword [esp + 0x70], ecx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x8c], edi
mov dword [esp + 0x74], eax
mov dword [esp + 0x80], ebp
mov edi, dword [esp + 0x24]
add edi, 0x19
cmp edi, 0x18
jae 0x47081f
mov byte [esp + 0x20], dl
xchg esi, ebx
neg ebx
xchg esi, ebx
mov edi, dword [esp + 0x4c]
test edi, edi
sete dl
mov ebx, dword [esp + 0x50]
test ebx, ebx
sete al
and eax, edx
test al, al
jne 0x470e31
xor eax, eax
jmp 0x470d82
movzx esi, byte [esp + 0x22]
movzx edi, byte [esp + 0x21]
jmp 0x47088d
mov eax, dword [esp + 0xf4]
mov dword [esp], eax
mov dword [esp + 8], edx
mov dword [esp + 4], ebx
mov eax, dword [esp + 0x98]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ebp
mov byte [esp + 0x1c], 1
mov byte [esp + 0x1d], 0
call fcn.00471080
add esp, 0xf0
ret
mov eax, dword [esp + 0xf4]
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
add esp, 0xf0
ret
mov byte [esp + 0x20], dl
xchg edi, eax
mov byte [esp + 0x21], al
xchg edi, eax
xchg esi, eax
mov byte [esp + 0x22], al
xchg esi, eax
neg ecx
mov dword [esp + 0xcc], ecx
mov edi, 1
shl edi, cl
shr ebp, cl
mov dword [esp + 0xd4], ebp
shr ebx, cl
mov dword [esp + 0xd0], ebx
lea esi, [ecx - 0x20]
mov edx, dword [esp + 0x8c]
shr edx, cl
mov dword [esp + 0xc8], edx
mov ebx, dword [esp + 0x90]
shr ebx, cl
mov dword [esp + 0xc4], ebx
xchg esi, ebx
neg ebx
xchg esi, ebx
mov dword [esp + 0xc0], esi
mov ecx, esi
mov ebx, 1
shr ebx, cl
mov dword [esp + 0xbc], ebx
mov ebx, dword [esp + 0x84]
shl ebx, cl
mov dword [esp + 0xb8], ebx
mov ebx, dword [esp + 0x90]
shl ebx, cl
mov dword [esp + 0xb4], ebx
mov ebx, dword [esp + 0x70]
add ebx, 0x20
mov ecx, dword [esp + 0xcc]
mov edx, dword [esp + 0x78]
shr edx, cl
mov dword [esp + 0xb0], edx
mov ecx, esi
mov edx, dword [esp + 0x78]
shl edx, cl
mov dword [esp + 0xac], edx
mov ecx, dword [esp + 0xcc]
shr eax, cl
mov dword [esp + 0xa8], eax
neg ebx
mov ecx, ebx
mov edx, 1
shl edx, cl
mov esi, dword [esp + 0x84]
shr esi, cl
mov eax, dword [esp + 0x90]
shr eax, cl
mov ebp, dword [esp + 0x78]
shr ebp, cl
cmp ecx, 0x20
sbb ebx, ebx
and edx, ebx
and esi, ebx
mov dword [esp + 0xa4], esi
and eax, ebx
mov dword [esp + 0xa0], eax
and ebp, ebx
mov ebx, dword [esp + 0xcc]
cmp ebx, 0x20
sbb ebx, ebx
and edi, ebx
mov ecx, ebp
mov ebp, dword [esp + 0xd4]
and ebp, ebx
mov eax, dword [esp + 0xc8]
and eax, ebx
mov esi, dword [esp + 0xa8]
and esi, ebx
mov dword [esp + 0xd4], esi
mov esi, dword [esp + 0xd0]
and esi, ebx
mov dword [esp + 0xd0], esi
mov esi, dword [esp + 0xc4]
and esi, ebx
mov dword [esp + 0xc8], esi
mov esi, dword [esp + 0xb0]
and esi, ebx
mov dword [esp + 0xc4], esi
mov ebx, edi
add edi, 0xffffffff
mov dword [esp + 0x68], edi
mov esi, dword [esp + 0x8c]
and esi, edi
mov dword [esp + 0x60], esi
mov esi, dword [esp + 0x74]
and esi, edi
mov dword [esp + 0x5c], esi
mov edi, dword [esp + 0xc0]
cmp edi, 0x20
sbb edi, edi
mov esi, dword [esp + 0xbc]
and esi, edi
or edx, esi
add ebx, 0xffffffff
adc edx, 0xffffffff
mov dword [esp + 0x9c], edx
mov ebx, dword [esp + 0xb8]
and ebx, edi
or ebx, ebp
mov ebp, dword [esp + 0xb4]
and ebp, edi
or ebp, eax
mov eax, dword [esp + 0xac]
and eax, edi
mov esi, dword [esp + 0xd4]
or eax, esi
mov esi, dword [esp + 0xa4]
or esi, ebx
mov dword [esp + 0xd4], esi
mov ebx, dword [esp + 0xa0]
or ebx, ebp
mov dword [esp + 0x8c], ebx
mov ebp, dword [esp + 0x90]
and ebp, edx
mov dword [esp + 0x64], ebp
or ecx, eax
mov eax, dword [esp + 0x78]
and eax, edx
movzx edi, byte [esp + 0x20]
xchg edi, eax
test al, al
xchg edi, eax
je 0x470ae3
test eax, eax
xchg esi, ebx
seta bl
xchg esi, ebx
sete bl
mov edx, dword [esp + 0x5c]
test edx, edx
xchg ebp, ebx
seta bl
xchg ebp, ebx
and ebx, ebp
or ebx, esi
xchg edi, eax
test al, al
xchg edi, eax
mov edx, dword [esp + 0x9c]
mov ebp, dword [esp + 0x64]
mov esi, dword [esp + 0xd4]
mov edi, ebx
mov ebx, dword [esp + 0x8c]
jmp 0x470ae8
mov edi, 1
je 0x470b23
test eax, eax
sete al
mov esi, dword [esp + 0x5c]
test esi, esi
xchg esi, ebx
sete bl
xchg esi, ebx
and esi, eax
xchg esi, eax
test al, al
xchg esi, eax
je 0x470b1c
mov eax, dword [esp + 0xf8]
test eax, 1
xchg edi, ebx
sete bl
xchg edi, ebx
and edi, 1
jmp 0x470b2a
mov esi, dword [esp + 0xd4]
mov eax, dword [esp + 0xf8]
xchg edi, eax
test al, al
xchg edi, eax
je 0x470b39
mov esi, dword [esp + 0xc4]
jmp 0x470b46
add ecx, 0xffffffff
mov esi, dword [esp + 0xc4]
adc esi, 0xffffffff
mov dword [esp + 0x78], esi
mov dword [esp + 0x74], ecx
movzx edi, byte [esp + 0x22]
xchg edi, eax
test al, al
xchg edi, eax
je 0x470bff
mov esi, dword [esp + 0x70]
inc esi
xchg esi, ebx
neg ebx
xchg esi, ebx
mov ecx, esi
mov eax, 1
shl eax, cl
lea edi, [ecx - 0x20]
mov ecx, edi
mov edx, 1
shl edx, cl
neg ecx
mov ebx, 1
shr ebx, cl
cmp esi, 0x20
sbb esi, esi
and eax, esi
mov dword [esp + 0xc4], eax
mov esi, dword [esp + 0x60]
cmp eax, esi
setb al
cmp edi, 0x20
sbb edi, edi
and edx, edi
cmp ecx, 0x20
sbb edi, edi
and ebx, edi
or edx, ebx
cmp edx, ebp
sete dl
setb bl
and eax, edx
or eax, ebx
test al, al
je 0x470bce
mov eax, dword [esp + 0x8c]
mov ecx, 1
jmp 0x470c7a
mov eax, dword [esp + 0xc4]
cmp eax, esi
sete al
and eax, edx
test al, al
je 0x470bf4
mov eax, dword [esp + 0x8c]
test eax, 1
setne cl
jmp 0x470c7a
mov eax, dword [esp + 0x8c]
xor ecx, ecx
jmp 0x470c7a
mov esi, dword [esp + 0x70]
inc esi
xchg esi, ebx
neg ebx
xchg esi, ebx
mov ecx, esi
mov ebx, dword [esp + 0x60]
shr ebx, cl
shr ebp, cl
mov dword [esp + 0xc4], ebp
lea eax, [ecx - 0x20]
mov dword [esp + 0xc0], eax
mov ecx, eax
mov edi, dword [esp + 0x64]
shr edi, cl
neg eax
mov ecx, eax
mov edx, dword [esp + 0x64]
shl edx, cl
mov ebp, dword [esp + 0xc0]
cmp ebp, 0x20
sbb ebp, ebp
and edi, ebp
cmp eax, 0x20
sbb eax, eax
and edx, eax
cmp esi, 0x20
sbb eax, eax
and ebx, eax
or edx, ebx
or edi, edx
mov edx, dword [esp + 0xc4]
test eax, edx
sete cl
cmp edi, 1
sete al
and ecx, eax
mov eax, dword [esp + 0x8c]
mov ebp, dword [esp + 0x64]
mov esi, dword [esp + 0x60]
movzx edx, byte [esp + 0x21]
test dl, dl
je 0x470cda
mov edx, dword [esp + 0x84]
mov ebx, dword [esp + 0x9c]
test ebx, edx
sete dl
mov ebx, dword [esp + 0x80]
mov edi, dword [esp + 0x68]
test edi, ebx
sete bl
and ebx, edx
test bl, bl
je 0x470cda
mov edx, dword [esp + 0xf8]
test edx, 1
sete dl
and edx, 1
test dl, dl
je 0x470cda
movzx edx, byte [esp + 0x22]
test dl, dl
mov edx, dword [esp + 0xd4]
mov ebx, dword [esp + 0xd0]
jmp 0x470cf7
mov edx, dword [esp + 0xd4]
add edx, 1
mov ebx, dword [esp + 0xd0]
adc ebx, 0
movzx edi, byte [esp + 0x22]
xchg edi, eax
test al, al
xchg edi, eax
je 0x470d0f
test esi, esi
xchg esi, ebx
sete bl
xchg esi, ebx
test ebp, ebp
xchg ebp, ebx
sete bl
xchg ebp, ebx
and esi, ebp
jmp 0x470d11
xor esi, esi
mov ebp, dword [esp + 0xf4]
mov dword [esp], ebp
mov dword [esp + 8], ebx
mov dword [esp + 4], edx
mov edx, dword [esp + 0xc8]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x14], eax
xchg esi, eax
mov byte [esp + 0x1c], al
xchg esi, eax
mov byte [esp + 0x1d], cl
call fcn.00471080
mov eax, dword [esp + 0xf4]
mov ecx, dword [eax + 0x10]
mov edx, dword [esp + 0x24]
sub ecx, edx
dec ecx
mov dword [eax + 0x10], ecx
add esp, 0xf0
ret
mov edx, dword [esp + 0x58]
lea eax, [edx + 1]
mov ebp, dword [esp + 0x80]
mov ebx, edi
mov edi, ecx
mov ecx, dword [esp + 0x70]
cmp eax, esi
jge 0x470e31
mov dword [esp + 0x58], eax
mov dword [esp + 0x48], ebx
mov dword [esp + 0x3c], edi
mov eax, 0xcccccccd
mul edi
mov dword [esp + 0xd4], edx
mov eax, 0xcccccccd
mul ebx
shr edx, 2
mov dword [esp + 0xd0], edx
lea eax, [edx + edx*4]
sub ebx, eax
mov eax, 0x33333333
mul ebx
mov ebp, dword [esp + 0xd4]
shr ebp, 2
lea ecx, [ebp + ebp*4]
sub edi, ecx
add ebx, edi
mov ecx, eax
mov eax, 0xcccccccd
mov edi, edx
mul ebx
shr edx, 2
add ebp, 0
mov ebx, dword [esp + 0xd0]
adc ebx, 0
add ecx, ebp
adc edi, ebx
add ecx, edx
adc edi, 0
mov eax, 5
mul ecx
lea ebx, [edi + edi*4]
add edx, ebx
mov ebx, dword [esp + 0x3c]
cmp eax, ebx
setne bl
mov ebp, dword [esp + 0x48]
cmp ebp, edx
setne dl
or edx, ebx
test dl, dl
je 0x470d6c
mov ecx, dword [esp + 0x70]
mov ebp, dword [esp + 0x80]
movzx eax, byte [esp + 0x21]
jmp 0x470e36
mov eax, 1
mov byte [esp + 0x21], al
mov edx, dword [esp + 0x94]
test edx, edx
sete bl
mov edi, dword [esp + 0x98]
test edi, edi
xchg ebp, ebx
sete bl
xchg ebp, ebx
and ebp, ebx
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x470f35
mov dword [esp + 0x54], esi
xor ebx, ebx
jmp 0x470e7a
inc ebx
mov esi, dword [esp + 0x54]
movzx eax, byte [esp + 0x21]
mov edx, ecx
mov ecx, dword [esp + 0x70]
cmp ebx, esi
jge 0x470f35
mov dword [esp + 0x44], edi
mov dword [esp + 0x38], edx
mov eax, 0xcccccccd
mul edx
mov dword [esp + 0xd4], edx
mov eax, 0xcccccccd
mul edi
shr edx, 2
mov dword [esp + 0xd0], edx
lea eax, [edx + edx*4]
sub edi, eax
mov eax, 0x33333333
mul edi
mov ebp, dword [esp + 0xd4]
shr ebp, 2
lea ecx, [ebp + ebp*4]
mov esi, dword [esp + 0x38]
sub esi, ecx
add esi, edi
mov ecx, eax
mov eax, 0xcccccccd
mov edi, edx
mul esi
shr edx, 2
add ebp, 0
mov esi, dword [esp + 0xd0]
adc esi, 0
add ecx, ebp
adc edi, esi
add edx, ecx
adc edi, 0
mov eax, edx
mov ebp, 5
mov ecx, eax
mul ebp
lea esi, [edi + edi*4]
add edx, esi
mov esi, dword [esp + 0x44]
cmp esi, edx
setne dl
mov esi, dword [esp + 0x38]
cmp eax, esi
xchg esi, ebx
setne bl
xchg esi, ebx
or esi, edx
xchg esi, eax
test al, al
xchg esi, eax
je 0x470e6a
movzx eax, byte [esp + 0x21]
mov ecx, dword [esp + 0x70]
mov esi, dword [esp + 0x54]
movzx edx, byte [esp + 0x22]
jmp 0x470f3a
mov edx, 1
mov ebx, dword [esp + 0x2c]
test ebx, ebx
xchg ebp, ebx
sete bl
xchg ebp, ebx
mov edi, dword [esp + 0x28]
test edi, edi
sete cl
and ebp, ecx
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x470f60
mov byte [esp + 0x23], dl
xor ecx, ecx
jmp 0x470f98
mov ecx, 1
mov eax, dword [esp + 0x74]
mov ebx, dword [esp + 0x84]
mov ebp, dword [esp + 0x80]
mov esi, edx
movzx edi, byte [esp + 0x21]
mov edx, ecx
mov ecx, dword [esp + 0x70]
jmp 0x47088d
inc ecx
movzx edx, byte [esp + 0x23]
mov esi, eax
mov edi, ebp
movzx eax, byte [esp + 0x21]
cmp ecx, esi
jge 0x470f60
mov dword [esp + 0x40], ebx
mov dword [esp + 0x34], edi
mov eax, 0xcccccccd
mul ebx
mov dword [esp + 0xd4], edx
mov eax, 0xcccccccd
mul edi
shr edx, 2
mov dword [esp + 0xd0], edx
lea eax, [edx + edx*4]
sub edi, eax
mov ebp, dword [esp + 0xd4]
shr ebp, 2
lea eax, [ebp + ebp*4]
sub ebx, eax
mov eax, 0x33333333
mul ebx
mov dword [esp + 0xd4], edx
add ebx, edi
mov edi, eax
mov eax, 0xcccccccd
mul ebx
shr edx, 2
mov eax, dword [esp + 0xd0]
add eax, 0
adc ebp, 0
add eax, edi
mov ebx, dword [esp + 0xd4]
adc ebx, ebp
add eax, edx
adc ebx, 0
mov edx, 5
mov ebp, eax
mul edx
lea edi, [ebx + ebx*4]
add edx, edi
mov edi, dword [esp + 0x34]
cmp eax, edi
xchg edi, ebx
setne bl
xchg edi, ebx
mov eax, esi
mov esi, dword [esp + 0x40]
cmp esi, edx
setne dl
or edi, edx
xchg edi, eax
test al, al
xchg edi, eax
je 0x470f89
movzx eax, byte [esp + 0x21]
movzx edx, byte [esp + 0x23]
movzx ecx, byte [esp + 0x20]
jmp 0x470f65
lea eax, [0x4baae0]
mov dword [esp], eax
lea eax, [0xe972f4]
mov dword [esp + 4], eax
call fcn.00436380
nop
call fcn.004617c0
jmp fcn.00470390