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

Disassembly:
sub esp, 0x1e4
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1f4]
push edi
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call fcn.005bdc80
mov ecx, dword [esp + 0x18]
call fcn.005b6c70
test eax, eax
mov ecx, esi
setg byte [esp + 0x13]
call fcn.005b9490
mov ebx, eax
xor ebp, ebp
test ebx, ebx
jle 0x47d1ee
push ebp
lea ecx, [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x200]
call fcn.005ba130
mov al, byte [esp + 0x13]
xor edi, edi
test al, al
je 0x47d100
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x68]
push edi
lea edx, [esp + 0x44]
push edx
call fcn.005b6e00
push esi
lea ecx, [esp + 0x44]
call fcn.00419060
mov edi, eax
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x47d100
dec dword [eax]
cmp dword [eax], 0
mov esi, eax
jne 0x47d100
test esi, esi
je 0x47d100
mov ecx, esi
call fcn.005b0ba0
push esi
call fcn.005b3b10
add esp, 4
mov esi, dword [esp + 0x68]
push 0x9246e8
lea ecx, [esp + 0xc0]
call fcn.004a8150
push edi
push esi
lea ecx, [esp + 0xc4]
mov dword [esp + 0x110], 0
call fcn.0047a370
mov ecx, eax
call fcn.00454d10
push eax
lea ecx, [esp + 0x110]
call fcn.004a8150
mov eax, dword [esp + 0x104]
lea ecx, [esp + 0xc4]
cmp eax, ecx
je 0x47d15d
push eax
call fcn.0079a005
add esp, 4
mov edx, dword [esp + 0x1fc]
mov ecx, dword [edx + 0x48]
mov eax, dword [edx]
add eax, ecx
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x10c]
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x154]
add ecx, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x24], ecx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x2c]
push ecx
lea eax, [esp + 0x24]
push eax
mov ecx, edx
call fcn.00453f10
mov eax, dword [esp + 0x154]
lea ecx, [esp + 0x114]
cmp eax, ecx
je 0x47d1d0
push eax
call fcn.0079a005
add esp, 4
mov eax, dword [esp + 0x68]
lea edx, [esp + 0x58]
cmp eax, edx
je 0x47d1e5
push eax
call fcn.004186c0
add esp, 4
inc ebp
cmp ebp, ebx
jl 0x47d0a0
mov ecx, dword [esp + 0x1f8]
call fcn.005b9480
mov ebx, eax
xor ebp, ebp
test ebx, ebx
jle 0x47d421
jmp 0x47d210
mov ecx, dword [esp + 0x1f8]
push ebp
lea eax, [esp + 0x54]
push eax
call fcn.005ba110
mov al, byte [esp + 0x13]
test al, al
mov dword [esp + 0x14], 0
je 0x47d279
mov esi, dword [esp + 0x68]
push 0
lea ecx, [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x20]
call fcn.005b6e00
push esi
lea ecx, [esp + 0x44]
call fcn.004553d0
fstp dword [esp + 0x14]
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x47d279
dec dword [eax]
cmp dword [eax], 0
mov esi, eax
jne 0x47d279
test esi, esi
je 0x47d279
mov ecx, esi
call fcn.005b0ba0
push esi
call fcn.005b3b10
add esp, 4
mov ecx, dword [0x9246e8]
cmp ecx, 0x3f
mov edi, dword [esp + 0x68]
lea eax, [esp + 0x160]
mov dword [esp + 0x158], ecx
mov dword [esp + 0x1a0], eax
mov dword [esp + 0x15c], ecx
jle 0x47d2bc
push 0
inc ecx
push ecx
push 0x8466f8
call fcn.00799f3a
add esp, 0xc
mov dword [esp + 0x1a0], eax
mov ecx, dword [0x924730]
mov edx, dword [esp + 0x158]
lea esi, [edx + ecx]
cmp ecx, esi
je 0x47d2e1
mov dl, byte [ecx]
mov byte [eax], dl
inc eax
inc ecx
cmp ecx, esi
jne 0x47d2d0
mov eax, dword [esp + 0x1a0]
mov ecx, dword [esp + 0x158]
mov edx, dword [esp + 0x14]
mov byte [eax + ecx], 0
push edx
push edi
lea ecx, [esp + 0x160]
mov dword [esp + 0x1ac], 0
call fcn.0047a370
mov ecx, eax
call fcn.0047cb10
mov esi, eax
mov ecx, dword [esi]
cmp ecx, 0x3f
lea eax, [esp + 0x78]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], ecx
mov dword [esp + 0xb8], eax
jle 0x47d34f
mov eax, dword [esi]
push 0
inc ecx
push ecx
push 0x8466f8
mov dword [esp + 0x80], eax
call fcn.00799f3a
add esp, 0xc
mov dword [esp + 0xb8], eax
jmp 0x47d353
mov dword [esp + 0x74], ecx
mov ecx, dword [esi + 0x48]
mov edx, dword [esp + 0x70]
add edx, ecx
cmp ecx, edx
mov edi, eax
je 0x47d373
mov al, byte [ecx]
mov byte [edi], al
inc edi
inc ecx
cmp ecx, edx
jne 0x47d362
mov eax, dword [esp + 0xb8]
mov ecx, dword [esp + 0x70]
mov byte [eax + ecx], 0
mov eax, dword [esp + 0x1a0]
lea edx, [esp + 0x160]
cmp eax, edx
je 0x47d396
push eax
call fcn.0079a005
add esp, 4
mov edx, dword [esp + 0x1fc]
mov ecx, dword [edx + 0x48]
mov eax, dword [edx]
add eax, ecx
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xb8]
add ecx, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x3c], ecx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x2c]
push ecx
lea eax, [esp + 0x3c]
push eax
mov ecx, edx
call fcn.00453f10
mov eax, dword [esp + 0xb8]
lea ecx, [esp + 0x78]
cmp eax, ecx
je 0x47d403
push eax
call fcn.0079a005
add esp, 4
mov eax, dword [esp + 0x68]
lea edx, [esp + 0x58]
cmp eax, edx
je 0x47d418
push eax
call fcn.004186c0
add esp, 4
inc ebp
cmp ebp, ebx
jl 0x47d210
mov ecx, dword [esp + 0x1f8]
call fcn.005b94a0
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x14], ebx
jle 0x47d7b6
nop
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x200]
call fcn.005ba150
mov al, byte [esp + 0x13]
test al, al
lea edx, [esp + 0x114]
mov dword [esp + 0x10c], ebx
mov dword [esp + 0x154], edx
mov dword [esp + 0x110], 0x3f
mov byte [esp + 0x114], 0
je 0x47d58a
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x68]
push ebx
lea eax, [esp + 0x44]
push eax
call fcn.005b6e00
push esi
lea ecx, [esp + 0x15c]
push ecx
lea ecx, [esp + 0x48]
call fcn.0047ad20
mov esi, eax
mov edx, dword [esi]
cmp edx, 0x3f
lea eax, [esp + 0x1b0]
mov dword [esp + 0x1a8], edx
mov dword [esp + 0x1f0], eax
mov dword [esp + 0x1ac], edx
jle 0x47d4f2
push ebx
inc edx
push edx
push 0x8466f8
call fcn.00799f3a
mov edx, dword [esp + 0x1b4]
add esp, 0xc
mov dword [esp + 0x1f0], eax
mov ecx, dword [esi + 0x48]
lea esi, [edx + ecx]
cmp ecx, esi
je 0x47d518
lea esp, [esp]
mov dl, byte [ecx]
mov byte [eax], dl
inc eax
inc ecx
cmp ecx, esi
jne 0x47d500
mov eax, dword [esp + 0x1f0]
mov edx, dword [esp + 0x1a8]
mov byte [eax + edx], 0
lea eax, [esp + 0x1a8]
push eax
lea ecx, [esp + 0x110]
call fcn.00418ba0
mov eax, dword [esp + 0x1f0]
lea ecx, [esp + 0x1b0]
cmp eax, ecx
je 0x47d54b
push eax
call fcn.0079a005
add esp, 4
mov eax, dword [esp + 0x1a0]
lea edx, [esp + 0x160]
cmp eax, edx
je 0x47d566
push eax
call fcn.0079a005
add esp, 4
mov eax, dword [esp + 0x4c]
cmp eax, ebx
je 0x47d58a
dec dword [eax]
cmp dword [eax], ebx
mov esi, eax
jne 0x47d58a
cmp esi, ebx
je 0x47d58a
mov ecx, esi
call fcn.005b0ba0
push esi
call fcn.005b3b10
add esp, 4
mov eax, dword [esp + 0x10c]
mov ebp, dword [esp + 0x68]
sub esp, 0x4c
mov esi, esp
mov dword [esi], eax
mov dword [esi + 4], eax
lea eax, [esi + 8]
mov dword [esi + 0x48], eax
mov eax, dword [esi]
cmp eax, 0x3f
jle 0x47d5cb
mov ecx, dword [esp + 0x158]
push ebx
inc eax
push eax
push 0x8466f8
mov dword [esi + 4], ecx
call fcn.00799f3a
add esp, 0xc
mov dword [esi + 0x48], eax
jmp 0x47d5ce
mov dword [esi + 4], eax
mov ecx, dword [esp + 0x1a0]
mov eax, dword [esi]
mov edi, dword [esi + 0x48]
add eax, ecx
cmp ecx, eax
je 0x47d5ea
mov dl, byte [ecx]
mov byte [edi], dl
inc edi
inc ecx
cmp ecx, eax
jne 0x47d5e0
mov eax, dword [esi + 0x48]
mov ecx, dword [esi]
mov byte [eax + ecx], 0
mov ecx, dword [0x9246e8]
cmp ecx, 0x3f
lea eax, [esp + 0x110]
mov dword [esp + 0x108], ecx
mov dword [esp + 0x150], eax
mov dword [esp + 0x10c], ecx
jle 0x47d631
push ebx
inc ecx
push ecx
push 0x8466f8
call fcn.00799f3a
add esp, 0xc
mov dword [esp + 0x150], eax
mov ecx, dword [0x924730]
mov edx, dword [esp + 0x108]
lea esi, [edx + ecx]
cmp ecx, esi
je 0x47d656
mov dl, byte [ecx]
mov byte [eax], dl
inc eax
inc ecx
cmp ecx, esi
jne 0x47d645
mov eax, dword [esp + 0x150]
mov ecx, dword [esp + 0x108]
mov byte [eax + ecx], 0
push ebp
lea ecx, [esp + 0x10c]
mov dword [esp + 0x158], ebx
call fcn.0047a370
mov ecx, eax
call fcn.0045cc70
mov esi, eax
mov ecx, dword [esi]
cmp ecx, 0x3f
lea eax, [esp + 0x78]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], ecx
mov dword [esp + 0xb8], eax
jle 0x47d6ba
mov edx, dword [esi]
push ebx
inc ecx
push ecx
push 0x8466f8
mov dword [esp + 0x80], edx
call fcn.00799f3a
add esp, 0xc
mov dword [esp + 0xb8], eax
jmp 0x47d6be
mov dword [esp + 0x74], ecx
mov ecx, dword [esi + 0x48]
mov edx, dword [esp + 0x70]
add edx, ecx
cmp ecx, edx
mov edi, eax
je 0x47d6e1
lea ecx, [ecx]
mov al, byte [ecx]
mov byte [edi], al
inc edi
inc ecx
cmp ecx, edx
jne 0x47d6d0
mov eax, dword [esp + 0xb8]
mov ecx, dword [esp + 0x70]
mov byte [eax + ecx], 0
mov eax, dword [esp + 0x104]
lea edx, [esp + 0xc4]
cmp eax, edx
je 0x47d704
push eax
call fcn.0079a005
add esp, 4
mov edx, dword [esp + 0x1fc]
mov ecx, dword [edx + 0x48]
mov eax, dword [edx]
add eax, ecx
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0xb8]
add ecx, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x3c], ecx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x2c]
push ecx
lea eax, [esp + 0x3c]
push eax
mov ecx, edx
call fcn.00453f10
mov eax, dword [esp + 0xb8]
lea ecx, [esp + 0x78]
cmp eax, ecx
je 0x47d771
push eax
call fcn.0079a005
add esp, 4
mov eax, dword [esp + 0x154]
lea edx, [esp + 0x114]
cmp eax, edx
je 0x47d78c
push eax
call fcn.0079a005
add esp, 4
mov eax, dword [esp + 0x68]
lea ecx, [esp + 0x58]
cmp eax, ecx
je 0x47d7a1
push eax
call fcn.004186c0
add esp, 4
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x6c]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x47d440
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x47d805
dec dword [eax]
cmp dword [eax], ebx
mov edi, eax
jne 0x47d805
cmp edi, ebx
je 0x47d805
mov esi, dword [edi + 0x5c]
cmp esi, ebx
je 0x47d7e9
dec dword [esi]
jne 0x47d7e9
cmp esi, ebx
je 0x47d7e9
mov ecx, esi
call fcn.005b0ba0
push esi
call fcn.005b3b10
add esp, 4
mov eax, dword [edi + 0x58]
lea edx, [edi + 0x54]
cmp eax, edx
je 0x47d7fc
push eax
call fcn.005b3b10
add esp, 4
push edi
call fcn.005b3b10
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1e4
ret