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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x60]
cmp eax, dword [ecx + 8]
jbe 0x47aef7
sub esp, 0xe0
mov edx, dword [esp + 0xe4]
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 0x47ae41
mov edx, dword [esp + 0xec]
test edx, edx
je 0x47aede
cmp ebx, 1
xchg ebp, ebx
sete bl
xchg ebp, ebx
test edi, edi
mov ecx, edx
setae dl
cmp ebx, 1
mov esi, ebx
seta bl
nop
nop
and edx, ebp
or ebx, edx
test bl, bl
je 0x47ae34
mov edx, esi
xor ebx, ebx
mov ebp, 0x20
mov dword [esp + 0x94], edi
mov dword [esp + 0x90], edx
mov dword [esp + 0x50], ebp
test ebx, ebx
sete dl
xchg edi, ebx
seta bl
xchg edi, ebx
cmp esi, 0x10000
xchg ebp, ebx
setae bl
xchg ebp, ebx
and ebp, edx
or edi, ebp
xchg edi, eax
test al, al
xchg edi, eax
je 0x47ae27
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 0x47ae1a
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 0x47aed0
cmp edx, 0x100
jae 0x47aec4
mov dword [esp + 0x50], ebx
lea ebp, [0xc28940]
movzx edx, byte [ebp + edx]
mov dword [esp + 0x8c], edx
lea ecx, [edx + ebx - 0x40]
neg ecx
mov dword [esp + 0x30], ecx
cmp ecx, 0x20
sbb ebp, ebp
mov esi, dword [esp + 0x94]
mov edi, esi
shl esi, cl
and esi, ebp
mov dword [eax], esi
lea esi, [ecx - 0x20]
mov dword [esp + 0x94], esi
xchg esi, ebx
neg ebx
xchg esi, ebx
cmp esi, 0x20
sbb edx, edx
mov ebx, dword [esp + 0x94]
cmp ebx, 0x20
sbb eax, eax
mov ecx, ebx
mov ebx, edi
shl edi, cl
and edi, eax
mov ecx, esi
shr ebx, cl
and ebx, edx
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x90]
shl eax, cl
and eax, ebp
or eax, ebx
or edi, eax
mov eax, dword [esp + 0xe4]
mov dword [eax + 4], edi
mov edx, dword [eax + 8]
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0x8c]
add ebx, ebp
lea edx, [edx + ebx - 0x40]
mov dword [eax + 8], edx
mov dword [esp], eax
call fcn.0047a4b0
mov eax, dword [esp + 0xe4]
mov edx, dword [eax + 8]
neg edx
mov dword [esp + 0x8c], edx
lea ecx, [edx - 0x20]
mov dword [esp + 0x94], ecx
mov ebx, ecx
neg ecx
mov dword [esp + 0x90], ecx
cmp ecx, 0x20
sbb ebp, ebp
mov dword [esp + 0x88], ebp
cmp edx, 0x20
sbb esi, esi
mov dword [esp + 0x84], esi
cmp ebx, 0x20
sbb edi, edi
mov dword [esp + 0x80], edi
mov esi, dword [eax + 4]
mov dword [esp + 0x7c], esi
mov eax, dword [eax]
mov dword [esp + 0x78], eax
mov ecx, ebx
shr esi, cl
and esi, edi
mov ecx, dword [esp + 0x90]
mov edi, dword [esp + 0x7c]
shl edi, cl
and edi, ebp
mov ecx, edx
shr eax, cl
mov ebx, dword [esp + 0x84]
and eax, ebx
or eax, edi
or eax, esi
mov dword [esp + 0x74], eax
mov esi, eax
shl eax, cl
and eax, ebx
mov edi, dword [esp + 0x78]
sub edi, eax
mov ecx, dword [esp + 0x90]
shr esi, cl
and esi, ebp
mov ecx, dword [esp + 0x94]
mov ebx, dword [esp + 0x74]
shl ebx, cl
mov edx, dword [esp + 0x80]
and ebx, edx
or ebx, esi
mov esi, dword [esp + 0x78]
sub esi, eax
mov eax, dword [esp + 0x7c]
sbb eax, ebx
mov ebx, dword [esp + 4]
mov dword [esp + 0x60], ebx
mov esi, dword [esp + 0x74]
mov dword [esp + 0xb8], 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 + 0xb8]
jmp 0x47a951
mov ebx, eax
mov eax, 0xa
mul edx
mov ebp, dword [esp + 0x54]
inc ebp
mov esi, dword [esp + 0x44]
lea esi, [esi + esi*4]
lea edx, [edx + esi*2]
mov esi, dword [esp + 0x74]
mov dword [esp + 0x54], ebp
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edx
mov eax, ebx
mov edx, dword [esp + 0x80]
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0x88]
mov edx, dword [esp + 0x54]
cmp edx, 0x14
jge 0x47ae13
mov ebp, dword [esp + 0x44]
test ebp, ebp
seta bl
mov edx, dword [esp + 0x40]
cmp edx, esi
xchg esi, ebx
seta bl
xchg esi, ebx
test ebp, ebp
xchg ebp, ebx
sete bl
xchg ebp, ebx
and ebp, esi
or ebp, ebx
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x47a915
mov edx, dword [esp + 0x54]
mov dword [esp + 0x70], eax
mov ebx, dword [esp + 0xec]
cmp edx, ebx
jle 0x47adff
mov ebp, edx
sub edx, ebx
cmp edx, 0x14
jae 0x47aeb8
lea esi, [0xc27700]
lea edx, [esi + edx*8]
mov esi, dword [edx]
mov edx, dword [edx + 4]
test esi, esi
je 0x47aeb3
mov dword [esp + 0x3c], edx
mov eax, dword [esp + 0x74]
xor edx, edx
div esi
mov edx, eax
imul eax, esi
mov ecx, dword [esp + 0x74]
sub ecx, eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x58], edi
mov dword [esp + 0x34], ecx
lea edi, [esp + 0xc0]
xor eax, eax
call fcn.0045a038
mov eax, 0x20
jmp 0x47aa1d
add edi, 0x30
mov dword [esp + 0x7c], edi
lea edi, [esp + 0xc0]
mov eax, dword [esp + 0x7c]
mov byte [ecx + edi - 1], al
mov eax, esi
mov esi, dword [esp + 0x38]
test edx, edx
jbe 0x47aa43
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 0x47aa01
jmp 0x47aea7
mov dword [esp + 0x6c], ebp
mov edx, dword [esp + 0xe8]
mov ecx, eax
jmp 0x47aa6b
xchg ebp, ebx
mov byte [esi + eax], bl
xchg ebp, ebx
lea eax, [edi + 1]
mov ebx, dword [esp + 0xec]
mov ebp, dword [esp + 0x6c]
mov esi, dword [esp + 0x38]
cmp eax, 0x20
jge 0x47aa93
mov edi, eax
sub eax, ecx
cmp edi, 0x20
jae 0x47ae9b
mov esi, dword [edx]
mov ebx, dword [edx + 4]
movzx ebp, byte [esp + edi + 0xc0]
cmp eax, ebx
jb 0x47aa52
jmp 0x47ae94
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
lea ebx, [ecx + ebx - 0x20]
test ebx, ebx
jle 0x47add1
mov ebp, dword [esp + 0x34]
test ebp, ebp
jne 0x47ae7c
mov edi, dword [esp + 0x3c]
test edi, edi
mov ecx, edi
xchg edi, ebx
setne bl
xchg edi, ebx
cmp esi, 1
xchg esi, ebx
setne bl
xchg esi, ebx
or edi, esi
xchg edi, eax
test al, al
xchg edi, eax
jne 0x47ae7c
mov esi, dword [esp + 0x90]
mov edi, dword [esp + 0x80]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x5c], eax
mov dword [esp + 0xa8], ecx
mov ecx, 1
mov dword [esp + 0x24], ecx
xor ecx, ecx
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0xa8]
jmp 0x47abd3
mov edi, esi
shl esi, cl
and esi, eax
mov eax, dword [esp + 0x58]
sub eax, esi
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x74]
mov byte [ebp + ebx], al
mov ecx, dword [esp + 0x90]
mov eax, edi
shr edi, cl
mov ecx, edx
mov ebp, dword [esp + 0x64]
shl ebp, cl
mov ecx, dword [esp + 0x94]
shl eax, cl
mov edx, dword [esp + 0x84]
and ebp, edx
mov edx, dword [esp + 0x88]
and edi, edx
or ebp, edi
mov edi, dword [esp + 0x80]
and eax, edi
or ebp, eax
mov eax, dword [esp + 0x58]
sub eax, esi
mov eax, dword [esp + 0x7c]
sbb eax, ebp
inc ebx
mov ebp, dword [esp + 0x48]
dec ebp
mov esi, dword [esp + 0x90]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0xe8]
mov dword [esp + 0x5c], eax
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x58], eax
mov dword [esp + 0x98], ebx
mov ebx, dword [esp + 0x78]
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0x98]
mov ebx, ebp
mov ebp, dword [esp + 0x34]
test ebx, ebx
jle 0x47acfe
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x58]
mov ebp, 0xa
mul ebp
mov dword [esp + 0x7c], edx
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x24]
mul ebp
mov dword [esp + 0x24], eax
mov ebp, dword [esp + 0x28]
lea ebp, [ebp + ebp*4]
lea edx, [edx + ebp*2]
mov dword [esp + 0x78], edx
shl edx, 1
shr eax, 0x1f
or eax, edx
mov ecx, esi
mov edx, 1
shr edx, cl
mov ecx, dword [esp + 0x94]
mov ebp, 1
shl ebp, cl
mov ebx, dword [esp + 0x88]
and edx, ebx
and ebp, edi
or ebp, edx
cmp eax, ebp
sete dl
mov edi, dword [esp + 0x24]
shl edi, 1
mov ecx, dword [esp + 0x8c]
mov ebx, 1
shl ebx, cl
mov esi, dword [esp + 0x84]
and ebx, esi
cmp edi, ebx
seta bl
cmp eax, ebp
xchg ebp, ebx
seta bl
xchg ebp, ebx
mov edi, dword [esp + 0x5c]
lea edi, [edi + edi*4]
mov eax, esi
mov esi, dword [esp + 0x7c]
lea esi, [esi + edi*2]
and ebx, edx
or ebx, ebp
test bl, bl
jne 0x47acef
mov dword [esp + 0x7c], esi
mov edx, ecx
mov ecx, dword [esp + 0x90]
mov ebx, esi
shl esi, cl
mov ecx, edx
mov edi, dword [esp + 0x58]
shr edi, cl
and edi, eax
mov ebp, dword [esp + 0x88]
and esi, ebp
or esi, edi
mov ecx, dword [esp + 0x94]
mov edi, ebx
shr ebx, cl
mov ebp, dword [esp + 0x80]
and ebx, ebp
or ebx, esi
mov esi, ebx
add ebx, 0x30
mov dword [esp + 0x74], ebx
mov ecx, edx
shr edi, cl
and edi, eax
mov dword [esp + 0x64], edi
mov ebp, dword [esp + 0xe8]
mov edi, dword [ebp + 4]
mov ebp, dword [ebp]
mov ebx, dword [esp + 0x4c]
cmp ebx, edi
jb 0x47ab2d
jmp 0x47ae73
mov byte [esp + 0xf0], 0
add esp, 0xe0
ret
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
mov dword [esp], edx
mov ecx, dword [esp + 0x8c]
shl ebp, cl
mov edx, dword [esp + 0x84]
and ebp, edx
mov edx, dword [esp + 0x58]
or edx, ebp
mov dword [esp + 4], edx
mov edx, ecx
mov ecx, esi
mov ebp, dword [esp + 0x34]
mov esi, ebp
shr ebp, cl
mov ecx, eax
mov eax, dword [esp + 0x88]
and ebp, eax
mov eax, ecx
mov ecx, dword [esp + 0x94]
shl esi, cl
and esi, edi
or esi, ebp
mov ebp, dword [esp + 0x5c]
or ebp, esi
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0x38]
mov dword [esp + 0xc], ebp
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], eax
call fcn.0047af10
movzx eax, byte [esp + 0x20]
test al, al
je 0x47adc2
mov edx, dword [esp + 0xe8]
mov ebx, dword [edx + 0xc]
dec ebx
jmp 0x47ad90
dec ebx
test ebx, ebx
jl 0x47adb3
mov ecx, dword [edx + 4]
mov ebp, dword [edx]
cmp ebx, ecx
jae 0x47ae6c
movzx ebp, byte [ebp + ebx]
xchg ebp, eax
cmp al, 0x30
xchg ebp, eax
je 0x47ad8f
lea eax, [ebx + 1]
mov dword [edx + 0xc], eax
mov byte [esp + 0xf0], 1
add esp, 0xe0
ret
mov byte [esp + 0xf0], 0
add esp, 0xe0
ret
mov ecx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x34]
mov esi, dword [esp + 0x90]
mov edi, dword [esp + 0x80]
xor eax, eax
mov ebx, 1
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x3c]
jmp 0x47ad09
mov ebp, edx
mov edx, dword [esp + 0x74]
xor ecx, ecx
mov esi, 1
xor eax, eax
jmp 0x47a9dc
xor edx, edx
jmp 0x47a98b
mov ebp, dword [esp + 0x2c]
mov edx, ebx
mov ebx, esi
jmp 0x47a773
mov edx, ebx
mov ebp, dword [esp + 0x50]
mov ebx, esi
jmp 0x47a734
mov edx, esi
mov esi, edi
mov ebx, edx
xor ebp, ebp
jmp 0x47a6e7
mov ecx, dword [esp + 0xe8]
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
movzx eax, byte [eax + 0xc]
mov byte [ecx + 0x14], al
mov byte [esp + 0xf0], 1
add esp, 0xe0
ret
mov eax, ebx
call fcn.00459e10
mov eax, ebx
mov ecx, edi
call fcn.00459e10
lea eax, [0x7cfd20]
mov dword [esp], eax
lea eax, [0x984bf8]
mov dword [esp + 4], eax
call fcn.00430830
mov ecx, ebx
call fcn.00459e10
mov eax, edi
mov ecx, 0x20
call fcn.00459e10
mov eax, esi
mov ecx, 0x20
call fcn.00459e10
call fcn.0042f660
mov eax, edx
mov ecx, 0x14
call fcn.00459e10
mov eax, edx
mov ecx, 0x100
call fcn.00459e20
mov esi, ebp
mov eax, edx
mov ecx, 0x100
call fcn.00459f00
lea eax, [0x7cfd20]
mov dword [esp], eax
lea eax, [0x984bf0]
mov dword [esp + 4], eax
call fcn.00430830
nop
call fcn.00458550
jmp fcn.0047a660