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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x48]
cmp eax, dword [ecx + 8]
jbe 0x47df40
sub esp, 0xc8
lea ecx, [0x526120]
mov dword [esp + 0x54], ecx
test byte [ecx], al
mov dword [0x526124], 5
mov ecx, dword [0x54cbf0]
test ecx, ecx
je 0x47d922
jmp 0x47d930
lea eax, [0x4b1036]
mov dword [0x526120], eax
jmp 0x47d943
lea edi, [0x526120]
lea eax, [0x4b1036]
call fcn.0045d8e0
jmp 0x47d943
mov dword [esp + 0x34], 1
mov eax, dword [esp + 0xcc]
test byte [eax], al
movzx eax, word [eax + 0x46]
test ax, ax
ja 0x47d95f
jmp 0x47d969
mov dword [esp + 0x34], 2
jmp 0x47d96b
jmp 0x47d96b
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x34]
lea edx, [0x4abaa0]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00448290
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], edx
mov ebx, dword [esp + 0x54]
test byte [ebx], al
mov dword [ebx + 0xc], ecx
mov dword [ebx + 0x10], edx
lea edi, [ebx + 8]
mov ecx, dword [0x54cbf0]
test ecx, ecx
je 0x47d9c5
jmp 0x47d9ca
mov dword [ebx + 8], eax
jmp 0x47d9d1
call fcn.0045d8e0
jmp 0x47d9d1
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov eax, dword [esp + 0xcc]
mov dword [esp], eax
call fcn.0047d300
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], ebx
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ecx
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
mov eax, dword [esp + 0x54]
test byte [eax], al
mov edi, dword [eax + 8]
mov ecx, dword [eax + 0xc]
test ecx, ecx
ja 0x47da67
jmp 0x47df38
mov dword [esp + 0x50], edi
test byte [edi], al
mov eax, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
mov dword [edi + 4], edx
mov edx, dword [0x54cbf0]
test edx, edx
je 0x47da84
jmp 0x47da88
mov dword [edi], eax
jmp 0x47da8f
call fcn.0045d8e0
jmp 0x47da8f
cmp dword [esp + 0x34], 1
je 0x47da9b
jmp 0x47dbb5
mov ecx, dword [esp + 0x50]
test byte [ecx], al
mov edx, dword [esp + 0xcc]
test byte [edx], al
mov edx, dword [edx]
neg edx
imul edx, edx, 0x3c
mov dword [ecx + 8], edx
mov ecx, dword [esp + 0x54]
test byte [ecx], al
mov dword [ecx + 0x28], 0
mov dword [ecx + 0x2c], 0x80000000
mov ecx, dword [esp + 0x54]
test byte [ecx], al
mov dword [ecx + 0x30], 0xffffffff
mov dword [ecx + 0x34], 0x7fffffff
mov ecx, dword [esp + 0x54]
test byte [ecx], al
lea edi, [ecx + 0x38]
mov edx, dword [0x54cbf0]
mov eax, dword [esp + 0x50]
test edx, edx
je 0x47daf5
jmp 0x47dafa
mov dword [ecx + 0x38], eax
jmp 0x47db01
call fcn.0045d8e0
jmp 0x47db01
lea eax, [0x4ac2a0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.00448290
mov eax, dword [esp + 0xc]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], 1
mov dword [esp + 0x90], 1
mov ecx, dword [esp + 0x54]
test byte [ecx], al
mov dword [ecx + 0x18], 1
mov dword [ecx + 0x1c], 1
lea edi, [ecx + 0x14]
mov edx, dword [0x54cbf0]
test edx, edx
je 0x47db63
jmp 0x47db68
mov dword [ecx + 0x14], eax
jmp 0x47db6f
call fcn.0045d8e0
jmp 0x47db6f
mov edx, dword [esp + 0x54]
test byte [edx], al
mov ebx, dword [esp + 0x54]
test byte [ebx], al
mov ecx, dword [edx + 0x18]
mov edx, dword [edx + 0x14]
mov ebp, dword [ebx + 0x28]
mov ebx, dword [ebx + 0x2c]
test ecx, ecx
ja 0x47db90
jmp 0x47df31
mov dword [edx], ebp
mov dword [edx + 4], ebx
mov edx, dword [esp + 0x54]
test byte [edx], al
mov ecx, dword [edx + 0x18]
mov edx, dword [edx + 0x14]
test ecx, ecx
ja 0x47dbaa
jmp 0x47df2a
mov byte [edx + 8], 0
add esp, 0xc8
ret
mov edx, dword [esp + 0x50]
test byte [edx], al
mov ebx, dword [esp + 0xcc]
test byte [ebx], al
mov ebp, dword [esp + 0xcc]
test byte [ebp], al
mov ebx, dword [ebx]
add ebx, dword [ebp + 0x54]
neg ebx
imul ebx, ebx, 0x3c
mov dword [edx + 8], ebx
mov edx, dword [esp + 0x54]
test byte [edx], al
mov ebx, dword [edx + 8]
mov ecx, dword [edx + 0xc]
cmp ecx, 1
ja 0x47dbf1
jmp 0x47df20
lea ecx, [ebx + 0x10]
mov dword [esp + 0x58], ecx
test byte [ecx], al
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
mov dword [ebx + 0x14], ecx
lea edi, [ebx + 0x10]
mov ecx, dword [0x54cbf0]
test ecx, ecx
je 0x47dc14
jmp 0x47dc19
mov dword [ebx + 0x10], eax
jmp 0x47dc20
call fcn.0045d8e0
jmp 0x47dc20
mov eax, dword [esp + 0x58]
test byte [eax], al
mov ecx, dword [esp + 0xcc]
test byte [ecx], al
mov edx, dword [esp + 0xcc]
test byte [edx], al
mov ecx, dword [ecx]
add ecx, dword [edx + 0xa8]
neg ecx
imul ecx, ecx, 0x3c
mov dword [eax + 8], ecx
mov eax, dword [esp + 0x58]
test byte [eax], al
mov byte [eax + 0xc], 1
mov eax, dword [esp + 0xcc]
test byte [eax], al
add eax, 0x44
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0xcc]
test byte [eax], al
add eax, 0x98
mov dword [esp + 0x5c], eax
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 1
mov eax, dword [esp + 0x60]
test byte [eax], al
mov ecx, dword [esp + 0x5c]
test byte [ecx], al
movzx eax, word [eax + 2]
cmp word [ecx + 2], ax
jb 0x47dc9c
jmp 0x47dcce
mov eax, dword [esp + 0x60]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x38], eax
jmp 0x47dcd0
jmp 0x47dcd0
lea eax, [0x4ac2a0]
mov dword [esp], eax
mov dword [esp + 4], 0x190
mov dword [esp + 8], 0x190
call fcn.00448290
mov eax, dword [esp + 0xc]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], 0x190
mov dword [esp + 0x90], 0x190
mov ecx, dword [esp + 0x54]
test byte [ecx], al
mov dword [ecx + 0x18], 0x190
mov dword [ecx + 0x1c], 0x190
lea edi, [ecx + 0x14]
mov edx, dword [0x54cbf0]
test edx, edx
je 0x47dd32
jmp 0x47dd37
mov dword [ecx + 0x14], eax
jmp 0x47dd3e
call fcn.0045d8e0
jmp 0x47dd3e
call fcn.00478e40
lea edi, [esp + 0xb4]
lea esi, [esp]
call fcn.0045df9e
lea edi, [esp]
lea esi, [esp + 0xb4]
call fcn.0045df9e
call fcn.00479000
lea edi, [esp + 0xa0]
lea esi, [esp + 0x14]
call fcn.0045df9e
lea edi, [esp]
lea esi, [esp + 0xa0]
call fcn.0045df9e
call fcn.00477fe0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], 0
mov eax, dword [esp + 0x28]
add eax, 0xffffff9c
mov dword [esp + 0x2c], eax
jmp 0x47dda7
mov edx, dword [esp + 0x28]
add edx, 0x64
cmp dword [esp + 0x2c], edx
jl 0x47ddb9
jmp 0x47defd
mov edx, dword [esp + 0x54]
test byte [edx], al
mov ecx, dword [edx + 0x18]
mov edx, dword [edx + 0x14]
mov eax, dword [esp + 0x30]
cmp eax, ecx
jb 0x47ddd2
jmp 0x47df1b
lea eax, [eax + eax*2]
lea eax, [edx + eax*4]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x2c]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0047d6d0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x54]
test byte [ecx], al
mov ebx, dword [ecx + 0xc]
mov ecx, dword [ecx + 8]
mov ebp, dword [esp + 0x38]
cmp ebp, ebx
jb 0x47de1d
jmp 0x47df12
mov ebx, dword [esp + 0x4c]
test byte [ebx], al
shl ebp, 4
lea ebp, [ecx + ebp + 8]
mov ebp, dword [ebp]
mov esi, eax
sub eax, ebp
mov dword [ebx], eax
mov edi, ebp
sar ebp, 0x1f
sub esi, edi
sbb edx, ebp
mov dword [ebx + 4], edx
mov edx, dword [esp + 0x4c]
test byte [edx], al
mov ebx, dword [esp + 0x3c]
mov byte [edx + 8], bl
mov edx, dword [esp + 0x30]
lea eax, [edx + 1]
mov dword [esp + 0x30], eax
mov ebx, dword [esp + 0x54]
test byte [ebx], al
mov ecx, dword [ebx + 0x18]
mov ebx, dword [ebx + 0x14]
cmp ecx, eax
ja 0x47de6c
jmp 0x47df0d
lea eax, [edx + edx*2]
lea eax, [ebx + eax*4 + 0xc]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x2c]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0047d6d0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x44], eax
mov ecx, dword [esp + 0x54]
test byte [ecx], al
mov ebx, dword [ecx + 0xc]
mov ecx, dword [ecx + 8]
mov ebp, dword [esp + 0x3c]
cmp ebp, ebx
jb 0x47deb5
jmp 0x47df04
mov ebx, dword [esp + 0x4c]
test byte [ebx], al
shl ebp, 4
lea ebp, [ecx + ebp + 8]
mov ebp, dword [ebp]
mov esi, eax
sub eax, ebp
mov dword [ebx], eax
mov edi, ebp
sar ebp, 0x1f
sub esi, edi
sbb edx, ebp
mov dword [ebx + 4], edx
mov edx, dword [esp + 0x4c]
test byte [edx], al
mov ebx, dword [esp + 0x38]
mov byte [edx + 8], bl
mov edx, dword [esp + 0x30]
inc edx
mov dword [esp + 0x30], edx
jmp 0x47deef
mov edx, dword [esp + 0x2c]
inc edx
mov dword [esp + 0x2c], edx
jmp 0x47dda7
add esp, 0xc8
ret
mov eax, ebp
mov ecx, ebx
call fcn.0045d960
call fcn.0045d960
mov eax, ebp
mov ecx, ebx
call fcn.0045d960
call fcn.0045d960
mov eax, 1
call fcn.0045d960
xor eax, eax
call fcn.0045d960
xor eax, eax
call fcn.0045d960
xor eax, eax
call fcn.0045d960
nop
call fcn.0045c4a0
jmp fcn.0047d8e0