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

Disassembly:
sub esp, 0x9c
push ebx
push ebp
mov ebp, ecx
cmp dword [ebp + 0x15c], 0xffffffff
push esi
push edi
mov edi, dword [ebp + 0x138]
jne 0x47a853
cmp edi, dword [ebp + 0x13c]
jbe 0x47a848
call fcn.005aec38
mov esi, dword [ebp + 0x12c]
jmp 0x47a927
cmp edi, dword [ebp + 0x13c]
jbe 0x47a860
call fcn.005aec38
mov esi, dword [ebp + 0x12c]
jmp 0x47a870
mov ebx, dword [ebp + 0x13c]
cmp dword [ebp + 0x138], ebx
jbe 0x47a883
call fcn.005aec38
mov eax, dword [ebp + 0x12c]
test esi, esi
je 0x47a891
cmp esi, eax
je 0x47a896
call fcn.005aec38
cmp edi, ebx
je 0x47a927
test esi, esi
jne 0x47a8d9
call fcn.005aec38
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x47a8b3
call fcn.005aec38
mov eax, dword [edi + 8]
cmp eax, dword [esp + 0xb0]
ja 0x47a8e1
test esi, esi
jne 0x47a8dd
call fcn.005aec38
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x47a8d4
call fcn.005aec38
add edi, 0x18
jmp 0x47a870
mov eax, dword [esi]
jmp 0x47a8a9
mov eax, dword [esi]
jmp 0x47a8ca
mov ebx, dword [ebp + 0x138]
cmp ebx, dword [ebp + 0x13c]
jbe 0x47a8f4
call fcn.005aec38
mov eax, dword [ebp + 0x12c]
test esi, esi
je 0x47a902
cmp esi, eax
je 0x47a907
call fcn.005aec38
cmp edi, ebx
je 0x47a927
test esi, esi
jne 0x47a9fe
call fcn.005aec38
xor eax, eax
cmp edi, dword [eax + 0xc]
ja 0x47a924
call fcn.005aec38
sub edi, 0x18
mov ebx, dword [ebp + 0x13c]
cmp dword [ebp + 0x138], ebx
jbe 0x47a93a
call fcn.005aec38
mov eax, dword [ebp + 0x12c]
test esi, esi
je 0x47a948
cmp esi, eax
je 0x47a94d
call fcn.005aec38
cmp edi, ebx
je 0x47ac65
test esi, esi
jne 0x47aa05
call fcn.005aec38
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x47a96e
call fcn.005aec38
mov ecx, dword [edi + 8]
cmp ecx, dword [ebp + 0x15c]
je 0x47ac65
test esi, esi
jne 0x47aa0c
call fcn.005aec38
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x47a996
call fcn.005aec38
mov edx, dword [edi + 8]
mov dword [ebp + 0x15c], edx
test esi, esi
jne 0x47aa13
call fcn.005aec38
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x47a9b4
call fcn.005aec38
lea eax, [esp + 0x20]
push eax
mov eax, dword [edi + 0x14]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [ebp + eax*4 + 0x114]
lea edx, [esp + 0x1c]
push edx
push ecx
mov ecx, dword [0x842680]
call fcn.00527020
mov eax, dword [esp + 0x20]
cmp eax, 0x15
jb 0x47ac65
cmp eax, 0x16
jbe 0x47aa17
cmp eax, 0x1a
jne 0x47ac65
mov dword [esp + 0x10], 0x10
jmp 0x47aa1f
mov eax, dword [esi]
jmp 0x47a91a
mov eax, dword [esi]
jmp 0x47a964
mov eax, dword [esi]
jmp 0x47a98c
mov eax, dword [esi]
jmp 0x47a9aa
mov dword [esp + 0x10], 0x20
test esi, esi
jne 0x47ac25
call fcn.005aec38
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x47aa38
call fcn.005aec38
mov eax, dword [edi + 0x14]
mov ecx, dword [ebp + eax*4 + 0x114]
lea edx, [esp + 0x1c]
push edx
push 0
push ecx
mov ecx, dword [0x842680]
call fcn.00527160
mov dword [esp + 0x28], eax
test esi, esi
jne 0x47ac2c
call fcn.005aec38
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x47aa72
call fcn.005aec38
mov ecx, dword [edi]
call fcn.0052a210
mov dword [esp + 0x24], eax
test esi, esi
jne 0x47ac33
call fcn.005aec38
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x47aa96
call fcn.005aec38
mov ecx, dword [edi]
call fcn.005673b0
lea edx, [esp + 0x8c]
push edx
mov ebx, eax
call dword [0x65b33c]
lea eax, [esp + 0x2c]
push 0x80
push eax
call fcn.0050cd20
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x40], eax
mov eax, dword [ebp + 0x128]
mov dword [esp + 0x3c], edx
mov edx, dword [ebp + 0x124]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x38], ecx
xor ecx, ecx
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x24]
shr eax, 3
add esp, 8
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x58], ebx
cmp esi, ecx
jne 0x47ac3a
call fcn.005aec38
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x47ab25
call fcn.005aec38
mov eax, dword [edi + 0xc]
xor ebx, ebx
mov dword [esp + 0x5c], eax
cmp esi, ebx
jne 0x47ac41
call fcn.005aec38
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x47ab47
call fcn.005aec38
mov ecx, dword [edi + 0x10]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
cmp esi, ebx
jne 0x47ac48
call fcn.005aec38
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x47ab6f
call fcn.005aec38
mov edx, dword [edi + 0xc]
mov dword [esp + 0x6c], edx
cmp esi, ebx
jne 0x47ac4f
call fcn.005aec38
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x47ab8f
call fcn.005aec38
mov eax, dword [edi + 0x10]
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
mov dword [esp + 0x58], 4
call fcn.00558940
add esp, 4
cmp esi, ebx
jne 0x47ac56
call fcn.005aec38
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x47abcc
call fcn.005aec38
mov eax, dword [edi + 0x14]
mov ecx, dword [ebp + eax*4 + 0x114]
push ecx
mov ecx, dword [0x842680]
call fcn.00527210
cmp esi, ebx
jne 0x47ac5d
call fcn.005aec38
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x47abf7
call fcn.005aec38
mov edx, dword [edi + 0x14]
mov dword [ebp + 0x160], edx
cmp esi, ebx
jne 0x47ac61
call fcn.005aec38
xor esi, esi
cmp edi, dword [esi + 0x10]
jb 0x47ac15
call fcn.005aec38
mov eax, dword [edi + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x9c
ret 4
mov eax, dword [esi]
jmp 0x47aa2e
mov eax, dword [esi]
jmp 0x47aa68
mov eax, dword [esi]
jmp 0x47aa8c
mov eax, dword [esi]
jmp 0x47ab1b
mov eax, dword [esi]
jmp 0x47ab3d
mov eax, dword [esi]
jmp 0x47ab65
mov eax, dword [esi]
jmp 0x47ab85
mov eax, dword [esi]
jmp 0x47abc2
mov eax, dword [esi]
jmp 0x47abed
mov esi, dword [esi]
jmp 0x47ac0b
mov eax, dword [ebp + 0x160]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x9c
ret 4