Function at 0x4704c0
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 0x4704f3
cmp edi, dword [ebp + 0x13c]
jbe 0x4704e8
call fcn.0055cb74
mov esi, dword [ebp + 0x12c]
jmp 0x4705c7
cmp edi, dword [ebp + 0x13c]
jbe 0x470500
call fcn.0055cb74
mov esi, dword [ebp + 0x12c]
jmp 0x470510
mov ebx, dword [ebp + 0x13c]
cmp dword [ebp + 0x138], ebx
jbe 0x470523
call fcn.0055cb74
mov eax, dword [ebp + 0x12c]
test esi, esi
je 0x470531
cmp esi, eax
je 0x470536
call fcn.0055cb74
cmp edi, ebx
je 0x4705c7
test esi, esi
jne 0x470579
call fcn.0055cb74
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x470553
call fcn.0055cb74
mov eax, dword [edi + 8]
cmp eax, dword [esp + 0xb0]
ja 0x470581
test esi, esi
jne 0x47057d
call fcn.0055cb74
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x470574
call fcn.0055cb74
add edi, 0x18
jmp 0x470510
mov eax, dword [esi]
jmp 0x470549
mov eax, dword [esi]
jmp 0x47056a
mov ebx, dword [ebp + 0x138]
cmp ebx, dword [ebp + 0x13c]
jbe 0x470594
call fcn.0055cb74
mov eax, dword [ebp + 0x12c]
test esi, esi
je 0x4705a2
cmp esi, eax
je 0x4705a7
call fcn.0055cb74
cmp edi, ebx
je 0x4705c7
test esi, esi
jne 0x47069e
call fcn.0055cb74
xor eax, eax
cmp edi, dword [eax + 0xc]
ja 0x4705c4
call fcn.0055cb74
sub edi, 0x18
mov ebx, dword [ebp + 0x13c]
cmp dword [ebp + 0x138], ebx
jbe 0x4705da
call fcn.0055cb74
mov eax, dword [ebp + 0x12c]
test esi, esi
je 0x4705e8
cmp esi, eax
je 0x4705ed
call fcn.0055cb74
cmp edi, ebx
je 0x470905
test esi, esi
jne 0x4706a5
call fcn.0055cb74
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x47060e
call fcn.0055cb74
mov ecx, dword [edi + 8]
cmp ecx, dword [ebp + 0x15c]
je 0x470905
test esi, esi
jne 0x4706ac
call fcn.0055cb74
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x470636
call fcn.0055cb74
mov edx, dword [edi + 8]
mov dword [ebp + 0x15c], edx
test esi, esi
jne 0x4706b3
call fcn.0055cb74
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x470654
call fcn.0055cb74
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 [0x7cf648]
call fcn.00517e30
mov eax, dword [esp + 0x20]
cmp eax, 0x15
jb 0x470905
cmp eax, 0x16
jbe 0x4706b7
cmp eax, 0x1a
jne 0x470905
mov dword [esp + 0x10], 0x10
jmp 0x4706bf
mov eax, dword [esi]
jmp 0x4705ba
mov eax, dword [esi]
jmp 0x470604
mov eax, dword [esi]
jmp 0x47062c
mov eax, dword [esi]
jmp 0x47064a
mov dword [esp + 0x10], 0x20
test esi, esi
jne 0x4708c5
call fcn.0055cb74
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x4706d8
call fcn.0055cb74
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 [0x7cf648]
call fcn.00517f70
mov dword [esp + 0x28], eax
test esi, esi
jne 0x4708cc
call fcn.0055cb74
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x470712
call fcn.0055cb74
mov ecx, dword [edi]
call fcn.005590d0
mov dword [esp + 0x24], eax
test esi, esi
jne 0x4708d3
call fcn.0055cb74
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x470736
call fcn.0055cb74
mov ecx, dword [edi]
call fcn.004b4470
lea edx, [esp + 0x8c]
push edx
mov ebx, eax
call dword [0x607334]
lea eax, [esp + 0x2c]
push 0x80
push eax
call fcn.004ffbf0
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 0x4708da
call fcn.0055cb74
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x4707c5
call fcn.0055cb74
mov eax, dword [edi + 0xc]
xor ebx, ebx
mov dword [esp + 0x5c], eax
cmp esi, ebx
jne 0x4708e1
call fcn.0055cb74
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x4707e7
call fcn.0055cb74
mov ecx, dword [edi + 0x10]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
cmp esi, ebx
jne 0x4708e8
call fcn.0055cb74
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x47080f
call fcn.0055cb74
mov edx, dword [edi + 0xc]
mov dword [esp + 0x6c], edx
cmp esi, ebx
jne 0x4708ef
call fcn.0055cb74
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x47082f
call fcn.0055cb74
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.00547200
add esp, 4
cmp esi, ebx
jne 0x4708f6
call fcn.0055cb74
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x47086c
call fcn.0055cb74
mov eax, dword [edi + 0x14]
mov ecx, dword [ebp + eax*4 + 0x114]
push ecx
mov ecx, dword [0x7cf648]
call fcn.00518010
cmp esi, ebx
jne 0x4708fd
call fcn.0055cb74
xor eax, eax
cmp edi, dword [eax + 0x10]
jb 0x470897
call fcn.0055cb74
mov edx, dword [edi + 0x14]
mov dword [ebp + 0x160], edx
cmp esi, ebx
jne 0x470901
call fcn.0055cb74
xor esi, esi
cmp edi, dword [esi + 0x10]
jb 0x4708b5
call fcn.0055cb74
mov eax, dword [edi + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x9c
ret 4
mov eax, dword [esi]
jmp 0x4706ce
mov eax, dword [esi]
jmp 0x470708
mov eax, dword [esi]
jmp 0x47072c
mov eax, dword [esi]
jmp 0x4707bb
mov eax, dword [esi]
jmp 0x4707dd
mov eax, dword [esi]
jmp 0x470805
mov eax, dword [esi]
jmp 0x470825
mov eax, dword [esi]
jmp 0x470862
mov eax, dword [esi]
jmp 0x47088d
mov esi, dword [esi]
jmp 0x4708ab
mov eax, dword [ebp + 0x160]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x9c
ret 4