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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x58]
cmp eax, dword [ecx + 8]
jbe 0x874da2
sub esp, 0xd8
lea edi, [esp + 0xe4]
xor eax, eax
call fcn.0045729c
call fcn.004f7ba0
call fcn.00408630
mov ecx, dword [esp + 8]
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
lea edx, [0x8e6680]
mov dword [esp + 0xa8], edx
mov dword [esp + 0xac], ecx
lea ecx, [0x981d7b]
mov dword [esp], ecx
mov dword [esp + 4], 2
lea ecx, [esp + 0xa8]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004c9200
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp], 0
mov ebx, dword [0xdb9804]
mov ebp, dword [0xdb9800]
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
lea ebx, [0x981fac]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], 3
mov ebx, dword [esp + 0xdc]
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0xe0]
mov dword [esp + 0x18], ebx
lea ebx, [0x9883ab]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], 0xc
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
call fcn.00443a20
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov ebx, dword [0xdc0efc]
lea ebp, [0xa54060]
mov dword [esp], ebp
mov dword [esp + 4], ebx
lea ebx, [0x9824c8]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], 4
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
call fcn.007ddcb0
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
test edx, edx
je 0x874866
je 0x87485f
mov eax, dword [edx + 4]
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ebx
movzx eax, byte [0xdd7a48]
test al, al
jne 0x87482e
lea edi, [esp + 0xe4]
lea esi, [0xa59da0]
call fcn.004576f8
mov dword [esp + 0x134], edx
mov dword [esp + 0x138], ebx
add esp, 0xd8
ret
mov dword [esp + 0x38], edx
mov dword [esp + 0x58], ebx
lea eax, [esp + 0xa0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.004d6a70
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x58]
jmp 0x874807
mov eax, edx
jmp 0x8747d8
mov dword [esp + 0x60], ecx
mov eax, dword [ecx + 0x1c]
mov dword [esp + 0x80], eax
lea edx, [0x982558]
mov dword [esp], edx
mov dword [esp + 4], 4
call fcn.004bfc00
mov eax, dword [esp + 8]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x34], ecx
nop
lea edx, [0x9829c0]
mov dword [esp], edx
mov dword [esp + 4], 4
call fcn.00781610
lea eax, [0x945400]
mov dword [esp], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 4], eax
call fcn.004103d0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
mov ebx, dword [eax]
lea ebp, [ecx + 1]
cmp ebp, edx
ja 0x874d51
lea edx, [ecx + 1]
mov dword [eax + 4], edx
lea edx, [ebx + ecx*8 + 4]
mov ebp, dword [esp + 0x34]
mov dword [edx], ebp
lea edi, [ebx + ecx*8]
mov ecx, dword [0xdd7ec0]
test ecx, ecx
jne 0x874d43
mov eax, dword [esp + 0x5c]
mov dword [edi], eax
lea eax, [0x936380]
mov dword [esp], eax
call fcn.0040ae10
mov eax, dword [esp + 4]
nop
mov dword [esp], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 4], eax
call fcn.007b0340
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
test edx, edx
je 0x8749da
je 0x8749d3
mov eax, dword [edx + 4]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], ecx
movzx eax, byte [0xdd7a48]
test al, al
jne 0x8749a6
lea edi, [esp + 0xe4]
lea esi, [0xa59e00]
call fcn.004576f8
mov dword [esp + 0x134], edx
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x138], eax
add esp, 0xd8
ret
mov dword [esp + 0x44], edx
lea eax, [esp + 0x98]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.004d6a70
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x44]
jmp 0x87497b
mov eax, edx
jmp 0x874948
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 0x24]
lea edx, [0x902a20]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004088f0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x200
mov dword [esp + 0xc], 0
call fcn.005da080
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x1c]
test ebp, ebp
je 0x874acd
je 0x874ac6
mov eax, dword [ebp + 4]
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], ebx
movzx eax, byte [0xdd7a48]
test al, al
jne 0x874a95
lea edi, [esp + 0xe4]
lea esi, [0xa59e60]
call fcn.004576f8
mov dword [esp + 0x134], ebp
mov dword [esp + 0x138], ebx
add esp, 0xd8
ret
mov dword [esp + 0x50], ebx
mov dword [esp + 0x48], ebp
lea eax, [esp + 0x90]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.004d6a70
mov ebx, dword [esp + 0x50]
mov ebp, dword [esp + 0x48]
jmp 0x874a6e
mov eax, ebp
jmp 0x874a3f
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x64], edx
lea eax, [0x955620]
mov dword [esp], eax
call fcn.0040ae10
mov eax, dword [esp + 4]
mov dword [esp + 0x84], eax
mov ecx, dword [esp + 0x64]
mov dword [esp], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 8], ecx
lea ecx, [0x8b6840]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
call fcn.00522680
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x874bc7
je 0x874bc0
mov edx, dword [ecx + 4]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], eax
movzx edx, byte [0xdd7a48]
test dl, dl
jne 0x874b93
lea edi, [esp + 0xe4]
lea esi, [0xa59ec0]
call fcn.004576f8
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x134], ecx
mov dword [esp + 0x138], eax
add esp, 0xd8
ret
mov dword [esp + 0x54], eax
lea eax, [esp + 0x88]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.004d6a70
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x38]
jmp 0x874b68
mov edx, ecx
jmp 0x874b35
mov eax, dword [esp + 0x84]
mov ecx, dword [eax + 0x30]
mov edx, dword [eax + 0x34]
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.00408630
mov eax, dword [esp + 8]
mov dword [esp + 0x7c], eax
mov ecx, dword [esp + 0x84]
mov edx, dword [ecx + 0x38]
mov ebx, dword [ecx + 0x3c]
mov dword [esp], edx
mov dword [esp + 4], ebx
call fcn.00408630
mov eax, dword [esp + 8]
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 0x84]
mov edx, dword [ecx + 0x44]
mov ebx, dword [ecx + 0x40]
mov dword [esp], ebx
mov dword [esp + 4], edx
call fcn.00408630
mov eax, dword [esp + 8]
mov dword [esp + 0x74], eax
mov ecx, dword [esp + 0x84]
mov edx, dword [ecx + 0x4c]
mov ebx, dword [ecx + 0x48]
mov dword [esp], ebx
mov dword [esp + 4], edx
call fcn.00408630
mov eax, dword [esp + 8]
mov dword [esp + 0x70], eax
mov ecx, dword [esp + 0x84]
mov edx, dword [ecx + 0x14]
mov ebx, dword [ecx + 0x10]
mov ebp, dword [ecx + 0xc]
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
call fcn.00408720
mov eax, dword [esp + 0xc]
mov dword [esp + 0x6c], eax
lea edi, [esp + 0xb0]
xor eax, eax
call fcn.004572a6
lea eax, [0x95c880]
mov dword [esp + 0xb0], eax
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0xb4], ecx
mov dword [esp + 0xb8], eax
mov ecx, dword [esp + 0x78]
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], eax
mov ecx, dword [esp + 0x74]
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc8], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0xcc], eax
lea eax, [0x8c6980]
mov dword [esp + 0xd0], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0xd4], eax
movzx eax, byte [0xdd7a48]
test al, al
jne 0x874d22
lea edi, [esp + 0xe4]
mov esi, dword [esp + 0x84]
call fcn.004576f8
mov dword [esp + 0x134], 0
mov dword [esp + 0x138], 0
add esp, 0xd8
ret
lea eax, [esp + 0xb0]
mov dword [esp], eax
mov dword [esp + 4], 5
mov dword [esp + 8], 5
call fcn.004d6a70
jmp 0x874cf2
mov eax, dword [esp + 0x5c]
call fcn.00456fe0
jmp 0x874908
mov dword [esp + 0x68], eax
lea eax, [0x8eba40]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ebp
call fcn.00440660
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov edi, dword [esp + 0x68]
mov dword [edi + 8], edx
mov edx, dword [0xdd7ec0]
test edx, edx
jne 0x874d9b
mov dword [edi], eax
mov ebx, eax
mov eax, edi
jmp 0x8748e1
call fcn.00456fe0
jmp 0x874d92
call fcn.004557a0
jmp fcn.00874670