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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x68]
cmp eax, dword [ecx + 8]
jbe 0x471777
sub esp, 0xe8
mov edx, dword [esp + 0xec]
mov ebx, dword [edx + 4]
test ebx, ebx
xchg ebp, ebx
sete bl
xchg ebp, ebx
mov edi, dword [edx]
test edi, edi
mov eax, edx
sete dl
and ebp, edx
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x4716c1
mov edx, dword [esp + 0xf4]
test edx, edx
je 0x47175e
test edi, edi
xchg ebp, ebx
setae bl
xchg ebp, ebx
cmp ebx, 1
mov ecx, edx
sete dl
mov esi, ebx
seta bl
nop
nop
and edx, ebp
or ebx, edx
test bl, bl
je 0x4716b4
mov edx, esi
xor ebx, ebx
mov ebp, 0x20
mov dword [esp + 0x98], edi
mov dword [esp + 0x94], edx
mov dword [esp + 0x50], ebp
cmp esi, 0x10000
setae dl
test ebx, ebx
xchg edi, ebx
seta bl
xchg edi, ebx
xchg ebp, ebx
sete bl
xchg ebp, ebx
and ebp, edx
or ebp, edi
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4716a7
shr esi, 0x10
mov edx, ebx
shl ebx, 0x10
or ebx, esi
shr edx, 0x10
mov ebp, dword [esp + 0x50]
add ebp, 0x10
mov dword [esp + 0x2c], edx
cmp ebx, 0x100
xchg edi, ebx
setae bl
xchg edi, ebx
test edx, edx
mov esi, ebp
xchg ebp, ebx
sete bl
xchg ebp, ebx
seta dl
and ebp, edi
or edx, ebp
test dl, dl
je 0x47169a
shr ebx, 8
mov edx, dword [esp + 0x2c]
mov ebp, edx
shl edx, 0x18
or edx, ebx
shr ebp, 8
lea ebx, [esi + 8]
test ebp, ebp
jne 0x471750
cmp edx, 0x100
jae 0x471744
mov dword [esp + 0x50], ebx
lea ebp, [0x812be0]
movzx edx, byte [ebp + edx]
mov dword [esp + 0x90], edx
lea ecx, [ebx + edx - 0x40]
neg ecx
mov dword [esp + 0x30], ecx
cmp ecx, 0x20
sbb ebp, ebp
mov esi, dword [esp + 0x98]
mov edi, esi
shl esi, cl
and esi, ebp
mov dword [eax], esi
lea esi, [ecx - 0x20]
mov dword [esp + 0x98], esi
xchg esi, ebx
neg ebx
xchg esi, ebx
cmp esi, 0x20
sbb edx, edx
mov ebx, dword [esp + 0x98]
cmp ebx, 0x20
sbb eax, eax
mov ecx, ebx
mov ebx, edi
shl edi, cl
and edi, eax
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x94]
shl eax, cl
and eax, ebp
mov ecx, esi
shr ebx, cl
and ebx, edx
or ebx, eax
or ebx, edi
mov eax, dword [esp + 0xec]
mov dword [eax + 4], ebx
mov edx, dword [eax + 8]
mov ebx, dword [esp + 0x90]
mov ebp, dword [esp + 0x50]
add ebx, ebp
lea edx, [ebx + edx - 0x40]
mov dword [eax + 8], edx
mov dword [esp], eax
call fcn.00470d00
mov eax, dword [esp + 0xec]
mov edx, dword [eax + 8]
neg edx
mov dword [esp + 0x90], edx
lea ecx, [edx - 0x20]
mov dword [esp + 0x98], ecx
cmp ecx, 0x20
sbb ebx, ebx
mov dword [esp + 0x94], ebx
mov ebp, ecx
neg ecx
mov dword [esp + 0x8c], ecx
cmp ecx, 0x20
sbb esi, esi
mov dword [esp + 0x88], esi
cmp edx, 0x20
sbb edi, edi
mov dword [esp + 0x84], edi
mov ebx, dword [eax]
mov dword [esp + 0x80], ebx
mov eax, dword [eax + 4]
mov dword [esp + 0x7c], eax
shl eax, cl
and eax, esi
mov ecx, edx
shr ebx, cl
and ebx, edi
or eax, ebx
mov ecx, ebp
mov ebx, dword [esp + 0x7c]
shr ebx, cl
mov esi, dword [esp + 0x94]
and ebx, esi
or eax, ebx
mov dword [esp + 0x78], eax
mov ecx, edx
mov ebx, eax
shl eax, cl
and eax, edi
mov edi, dword [esp + 0x80]
sub edi, eax
mov ecx, ebp
shl ebx, cl
and ebx, esi
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x78]
shr edx, cl
mov esi, dword [esp + 0x88]
and edx, esi
or ebx, edx
mov edx, dword [esp + 0x80]
sub edx, eax
mov eax, dword [esp + 0x7c]
sbb eax, ebx
mov edx, dword [esp + 4]
mov dword [esp + 0x60], edx
mov ebx, dword [esp + 0x78]
mov dword [esp + 0xbc], eax
xor eax, eax
mov dword [esp + 0x54], eax
mov eax, 1
mov dword [esp + 0x40], eax
xor eax, eax
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0xbc]
jmp 0x4711ac
mov edx, eax
mov eax, esi
mov ebx, 0xa
mov ebp, edx
mul ebx
mov esi, dword [esp + 0x54]
inc esi
mov ecx, dword [esp + 0x44]
lea ecx, [ecx + ecx*4]
lea ecx, [edx + ecx*2]
mov edx, dword [esp + 0x78]
mov edx, dword [esp + 0x60]
mov ebx, dword [esp + 0x78]
mov dword [esp + 0x54], esi
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
mov eax, ebp
mov ecx, dword [esp + 0x8c]
mov ebp, dword [esp + 0x98]
mov esi, dword [esp + 0x88]
mov esi, dword [esp + 0x54]
cmp esi, 0x14
jge 0x471693
mov ebp, dword [esp + 0x44]
test ebp, ebp
seta dl
xchg ebp, ebx
sete bl
xchg ebp, ebx
mov esi, dword [esp + 0x40]
cmp esi, ebx
seta bl
and ebx, ebp
or ebx, edx
test bl, bl
je 0x471161
mov edx, dword [esp + 0x54]
mov dword [esp + 0x74], eax
mov ebx, dword [esp + 0xf4]
cmp edx, ebx
jle 0x47167f
mov ebp, edx
sub edx, ebx
cmp edx, 0x14
jae 0x471738
lea esi, [0x8119e0]
lea edx, [esi + edx*8]
mov esi, dword [edx + 4]
mov edx, dword [edx]
test edx, edx
je 0x471733
mov eax, dword [esp + 0x78]
mov ecx, edx
xor edx, edx
div ecx
mov edx, eax
imul eax, ecx
mov ebx, dword [esp + 0x78]
sub ebx, eax
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], ecx
mov dword [esp + 0x58], edi
lea edi, [esp + 0xc4]
xor eax, eax
call fcn.00452858
mov eax, 0x20
jmp 0x47126c
add edi, 0x30
mov dword [esp + 0x80], edi
lea edi, [esp + 0xc4]
mov eax, dword [esp + 0x80]
mov byte [ecx + edi - 1], al
mov eax, esi
mov esi, dword [esp + 0x3c]
test edx, edx
jbe 0x471292
mov ecx, eax
mov eax, 0xcccccccd
mov edi, edx
mul edx
shr edx, 3
lea esi, [edx + edx*4]
shl esi, 1
sub edi, esi
lea esi, [ecx - 1]
cmp esi, 0x20
jb 0x47124a
jmp 0x471727
mov dword [esp + 0x70], ebp
mov dword [esp + 0x34], ebx
mov edx, dword [esp + 0xf0]
mov ecx, eax
jmp 0x4712bb
xchg ebp, ecx
mov byte [ebx + eax], cl
xchg ebp, ecx
lea eax, [edi + 1]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x70]
mov esi, dword [esp + 0x3c]
cmp eax, 0x20
jge 0x4712e3
mov edi, eax
sub eax, ecx
cmp edi, 0x20
jae 0x47171b
mov esi, dword [edx + 4]
mov ebx, dword [edx]
movzx ebp, byte [esp + edi + 0xc4]
cmp eax, esi
jb 0x4712a5
jmp 0x471714
lea edi, [ecx - 0x20]
xchg edi, ebx
neg ebx
xchg edi, ebx
mov dword [edx + 0xc], edi
mov eax, edi
mov edi, dword [esp + 0x60]
add ebp, edi
mov dword [edx + 0x10], ebp
mov ebp, dword [esp + 0xf4]
lea ebp, [ecx + ebp - 0x20]
test ebp, ebp
jle 0x471657
test ebx, ebx
jne 0x4716fc
test esi, esi
xchg edi, ebx
setne bl
xchg edi, ebx
mov ecx, esi
mov esi, dword [esp + 0x38]
cmp esi, 1
xchg esi, ebx
setne bl
xchg esi, ebx
or edi, esi
xchg edi, eax
test al, al
xchg edi, eax
jne 0x4716fc
mov esi, dword [esp + 0x98]
mov edi, dword [esp + 0x94]
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x5c], eax
mov dword [esp + 0xac], ecx
mov ecx, 1
mov dword [esp + 0x24], ecx
xor ecx, ecx
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0xac]
jmp 0x471434
mov ebx, esi
shl esi, cl
and esi, edi
mov dword [esp + 0x6c], esi
mov eax, dword [esp + 0x58]
sub eax, esi
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x78]
mov esi, dword [esp + 0xe4]
mov byte [esi + ebp], al
mov ecx, dword [esp + 0x98]
mov eax, ebx
shl ebx, cl
mov ecx, dword [esp + 0x8c]
shr eax, cl
mov ecx, edx
mov esi, dword [esp + 0x64]
shl esi, cl
and esi, edi
mov edi, dword [esp + 0x88]
and eax, edi
or esi, eax
mov eax, dword [esp + 0x94]
and ebx, eax
or esi, ebx
mov ebx, dword [esp + 0x58]
mov ecx, dword [esp + 0x6c]
sub ebx, ecx
mov ecx, dword [esp + 0x80]
sbb ecx, esi
lea ebx, [ebp + 1]
mov ebp, dword [esp + 0x48]
dec ebp
mov esi, dword [esp + 0x98]
mov edx, dword [esp + 0xf0]
mov edi, eax
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x9c], edi
mov edi, dword [esp + 0x7c]
mov dword [esp + 0x28], edi
mov eax, ebx
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x34]
mov edi, dword [esp + 0xa4]
test ebp, ebp
jle 0x47157e
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x58]
mov ebx, 0xa
mul ebx
mov dword [esp + 0x80], edx
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x24]
mul ebx
mov dword [esp + 0x24], eax
mov ebx, dword [esp + 0x28]
lea ebx, [ebx + ebx*4]
lea edx, [edx + ebx*2]
mov dword [esp + 0x7c], edx
shl edx, 1
shr eax, 0x1f
or eax, edx
mov ecx, esi
mov edx, 1
shl edx, cl
mov ecx, dword [esp + 0x8c]
mov ebx, 1
shr ebx, cl
mov ebp, dword [esp + 0x88]
and ebx, ebp
and edx, edi
or edx, ebx
cmp eax, edx
seta dl
sete bl
mov eax, edi
mov edi, dword [esp + 0x24]
shl edi, 1
mov ecx, dword [esp + 0x90]
mov ebp, 1
shl ebp, cl
mov esi, dword [esp + 0x84]
and ebp, esi
cmp edi, ebp
xchg ebp, ebx
seta bl
xchg ebp, ebx
mov edi, dword [esp + 0x5c]
lea edi, [edi + edi*4]
mov esi, dword [esp + 0x80]
lea esi, [esi + edi*2]
and ebp, ebx
or ebp, edx
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x47156f
mov dword [esp + 0x80], esi
mov edx, ecx
mov ecx, dword [esp + 0x8c]
mov ebx, esi
shl esi, cl
mov ecx, edx
mov edi, dword [esp + 0x58]
shr edi, cl
mov ecx, dword [esp + 0x98]
shr ebx, cl
mov ebp, dword [esp + 0x84]
and edi, ebp
mov ebp, dword [esp + 0x88]
and esi, ebp
or esi, edi
and ebx, eax
or ebx, esi
mov esi, ebx
add ebx, 0x30
mov dword [esp + 0x78], ebx
mov ecx, edx
mov ebp, dword [esp + 0x80]
shr ebp, cl
mov edi, dword [esp + 0x84]
and ebp, edi
mov dword [esp + 0x64], ebp
mov ebp, dword [esp + 0xf0]
mov ebx, dword [ebp + 4]
mov ebp, dword [ebp]
mov dword [esp + 0xe4], ebp
mov ebp, dword [esp + 0x4c]
cmp ebp, ebx
jb 0x471380
jmp 0x4716f3
mov byte [esp + 0xf8], 0
add esp, 0xe8
ret
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x24]
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x28], ebp
mov dword [esp], edx
mov ecx, dword [esp + 0x90]
shl ebx, cl
mov edx, dword [esp + 0x84]
and ebx, edx
mov edx, dword [esp + 0x58]
or edx, ebx
mov dword [esp + 4], edx
mov edx, ecx
mov ecx, dword [esp + 0x8c]
mov ebx, dword [esp + 0x34]
shr ebx, cl
mov ebp, dword [esp + 0x88]
and ebx, ebp
mov ecx, esi
mov ebp, dword [esp + 0x34]
shl ebp, cl
and ebp, edi
or ebp, ebx
mov ebx, dword [esp + 0x5c]
or ebp, ebx
mov dword [esp + 8], ebp
mov ebx, dword [esp + 0x38]
mov dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x1c], eax
call fcn.00471790
movzx eax, byte [esp + 0x20]
test al, al
je 0x471648
mov edx, dword [esp + 0xf0]
mov ebx, dword [edx + 0xc]
dec ebx
jmp 0x471616
dec ebx
test ebx, ebx
jl 0x471639
mov ecx, dword [edx + 4]
mov ebp, dword [edx]
cmp ebx, ecx
jae 0x4716ec
movzx ebp, byte [ebp + ebx]
xchg ebp, eax
cmp al, 0x30
xchg ebp, eax
je 0x471615
lea eax, [ebx + 1]
mov dword [edx + 0xc], eax
mov byte [esp + 0xf8], 1
add esp, 0xe8
ret
mov byte [esp + 0xf8], 0
add esp, 0xe8
ret
mov ecx, esi
mov esi, dword [esp + 0x98]
mov edi, dword [esp + 0x94]
mov eax, 1
xor ebp, ebp
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x3c]
jmp 0x471589
mov ebp, edx
mov edx, dword [esp + 0x78]
xor ebx, ebx
xor esi, esi
mov ecx, 1
jmp 0x471229
xor edx, edx
jmp 0x4711de
mov ebp, dword [esp + 0x2c]
mov edx, ebx
mov ebx, esi
jmp 0x470fc0
mov edx, ebx
mov ebp, dword [esp + 0x50]
mov ebx, esi
jmp 0x470f81
mov edx, esi
mov esi, edi
mov ebx, edx
xor ebp, ebp
jmp 0x470f34
mov ecx, dword [esp + 0xf0]
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
movzx eax, byte [eax + 0xc]
mov byte [ecx + 0x14], al
mov byte [esp + 0xf8], 1
add esp, 0xe8
ret
mov eax, ebx
call fcn.00452630
mov eax, ebp
mov ecx, ebx
call fcn.00452630
lea eax, [0x89ba80]
mov dword [esp], eax
lea eax, [0x994758]
mov dword [esp + 4], eax
call fcn.0042bf10
mov ecx, esi
call fcn.00452630
mov eax, edi
mov ecx, 0x20
call fcn.00452630
mov eax, esi
mov ecx, 0x20
call fcn.00452630
call fcn.0042b330
mov eax, edx
mov ecx, 0x14
call fcn.00452630
mov eax, edx
mov ecx, 0x100
call fcn.00452640
mov esi, ebp
mov eax, edx
mov ecx, 0x100
call fcn.00452720
lea eax, [0x89ba80]
mov dword [esp], eax
lea eax, [0x994750]
mov dword [esp + 4], eax
call fcn.0042bf10
nop
call fcn.00450d20
jmp fcn.00470eb0