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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x130]
cmp eax, dword [ecx + 8]
jbe 0x876fce
sub esp, 0x1b0
mov ecx, dword [esp + 0x1cc]
mov edx, dword [esp + 0x1c8]
cmp ecx, 0x13
je 0x876e1e
lea ecx, [esp + 4]
mov dword [esp + 0x78], ecx
mov edx, dword [esp + 0x1cc]
mov ebx, dword [esp + 0x1c8]
cmp edx, 0xc
jne 0x8767f4
mov dword [esp], ebx
lea eax, [0x988c33]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.00402300
movzx eax, byte [esp + 0xc]
test al, al
je 0x8767f4
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
lea eax, [0x8eba40]
mov dword [esp + 0x88], eax
lea eax, [0xa453b0]
mov dword [esp + 0x8c], eax
movzx eax, byte [0xdd7a48]
test al, al
jne 0x8767d0
mov eax, dword [esp + 0x1b4]
test byte [eax], al
lea ecx, [eax + 0x30]
mov dword [esp + 0x74], ecx
mov dword [esp], ecx
call fcn.004723c0
mov eax, dword [esp + 0x1b4]
mov ecx, dword [eax + 0x3c]
mov dword [esp + 0x60], ecx
mov edx, dword [eax + 0x38]
mov dword [esp + 0x70], edx
xor ebx, ebx
jmp 0x876662
mov ebp, dword [esp + 0x5c]
lea ebx, [ebp + 1]
mov eax, dword [esp + 0x1b4]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x70]
cmp ebx, ecx
jge 0x876728
mov dword [esp + 0x5c], ebx
mov ecx, dword [edx + ebx*4]
mov dword [esp + 0x6c], ecx
lea edi, [esp + 0x120]
mov ebp, eax
xor eax, eax
call fcn.004572a6
lea ecx, [0x98e165]
mov dword [esp + 0x130], ecx
mov dword [esp + 0x134], 0x13
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x13c], ecx
mov dword [esp], ebp
mov edi, dword [esp + 0x78]
lea esi, [esp + 0x120]
call fcn.0045775c
call fcn.00876fe0
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
test edx, edx
je 0x87664c
je 0x8766d1
mov edx, dword [edx + 4]
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], ecx
movzx ecx, byte [0xdd7a48]
test cl, cl
je 0x87664c
lea eax, [esp + 0x80]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.004d6a70
jmp 0x87664c
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call fcn.00472790
mov eax, dword [esp + 0x1d0]
mov ecx, dword [esp + 0x1b4]
mov ecx, dword [ecx + 0x20]
mov edx, dword [eax + 4]
mov ebx, dword [eax]
mov ebp, dword [eax + 0xc]
mov eax, dword [eax + 8]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebp
call fcn.007545c0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
test eax, eax
je 0x8767a8
je 0x876779
mov eax, dword [eax + 4]
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], ecx
movzx eax, byte [0xdd7a48]
test al, al
jne 0x8767af
add esp, 0x1b0
ret
lea eax, [esp + 0xd0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.004d6a70
jmp 0x8767a8
lea eax, [esp + 0x88]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.004d6980
jmp 0x87661b
mov ecx, dword [esp + 0x1c8]
cmp dword [esp + 0x1cc], 5
jne 0x876c4a
cmp dword [ecx], 0x6c6c6568
jne 0x876c4a
cmp byte [ecx + 4], 0x6f
jne 0x876c4a
mov eax, dword [esp + 0x1c0]
mov ecx, dword [esp + 0x1c4]
mov edx, dword [esp + 0x1b4]
mov dword [edx + 0x14], ecx
mov ecx, dword [0xdd7ec0]
test ecx, ecx
jne 0x876e11
mov dword [edx + 0x10], eax
mov eax, dword [esp + 0x1d8]
mov ecx, dword [esp + 0x1dc]
mov dword [edx + 0x1c], ecx
mov ecx, dword [0xdd7ec0]
test ecx, ecx
jne 0x876e04
mov dword [edx + 0x18], eax
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
lea eax, [0x8eba40]
mov dword [esp + 0xc8], eax
lea ecx, [0xa453b8]
mov dword [esp + 0xcc], ecx
movzx ecx, byte [0xdd7a48]
test cl, cl
jne 0x876de0
lea eax, [0x92c060]
mov dword [esp], eax
call fcn.0040ae10
mov eax, dword [esp + 4]
mov dword [esp + 0x7c], eax
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], 0
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf4], 0
mov word [esp + 0x56], 0
mov word [esp + 0x56], 0
mov ecx, dword [esp + 0x1b4]
mov edx, dword [ecx + 0x20]
mov dword [esp], edx
lea edx, [esp + 0x56]
mov dword [esp + 4], edx
call fcn.00752d40
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0xe8], edx
mov dword [esp + 0xec], eax
mov dword [esp + 0xf0], ecx
mov dword [esp + 0xf4], ebx
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x7c]
mov dword [edi], edx
mov dword [edi + 8], ecx
mov ecx, dword [0xdd7ec0]
test ecx, ecx
jne 0x876dc3
mov dword [edi + 4], eax
mov dword [edi + 0xc], ebx
test ebp, ebp
je 0x8769c8
je 0x8769c4
mov eax, dword [ebp + 4]
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], esi
movzx eax, byte [0xdd7a48]
test al, al
jne 0x8769a3
add esp, 0x1b0
ret
lea eax, [esp + 0xc0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.004d6a70
jmp 0x87699c
mov eax, ebp
jmp 0x87696d
mov eax, dword [edi + 8]
mov ecx, dword [edi + 0xc]
mov edx, dword [edi]
mov ebx, dword [edi + 4]
mov dword [esp + 0xe8], edx
mov dword [esp + 0xec], ebx
mov dword [esp + 0xf0], eax
mov dword [esp + 0xf4], ecx
lea eax, [0x92c060]
mov dword [esp], eax
lea ecx, [esp + 0xe8]
mov dword [esp + 4], ecx
call fcn.00408500
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], eax
movzx eax, byte [0xdd7a48]
test al, al
jne 0x876d9f
mov eax, dword [esp + 0x1b4]
mov ecx, dword [eax + 0x20]
mov edx, dword [esp + 0x7c]
mov ebx, dword [edx + 0xc]
mov ebp, dword [edx + 8]
mov esi, dword [edx + 4]
mov edi, dword [edx]
mov dword [esp], ecx
mov dword [esp + 4], edi
mov dword [esp + 8], esi
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.00753ff0
mov eax, dword [esp + 0x18]
mov dword [esp + 0x64], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x58], ecx
mov edx, dword [esp + 0x7c]
mov ebx, dword [edx]
mov ebp, dword [edx + 8]
mov esi, dword [edx + 4]
mov edi, dword [edx + 0xc]
mov dword [esp + 0xe8], ebx
mov dword [esp + 0xec], esi
mov dword [esp + 0xf0], ebp
mov dword [esp + 0xf4], edi
lea ebx, [0x92c060]
mov dword [esp], ebx
lea ebx, [esp + 0xe8]
mov dword [esp + 4], ebx
call fcn.00408500
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xb4], eax
movzx eax, byte [0xdd7a48]
test al, al
jne 0x876d7b
mov ecx, dword [esp + 0x58]
test ecx, ecx
je 0x876b6f
je 0x876b6b
mov eax, dword [ecx + 4]
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0xac], eax
movzx eax, byte [0xdd7a48]
test al, al
jne 0x876b4a
add esp, 0x1b0
ret
lea eax, [esp + 0xa8]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.004d6a70
jmp 0x876b43
mov eax, ecx
jmp 0x876b10
lea edi, [esp + 0x148]
xor eax, eax
call fcn.004572a6
lea ecx, [0x988c7b]
mov dword [esp + 0x158], ecx
mov dword [esp + 0x15c], 0xc
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x160], ecx
mov ecx, dword [esp + 0x1b4]
mov dword [esp], ecx
mov edi, dword [esp + 0x78]
lea esi, [esp + 0x148]
call fcn.0045775c
call fcn.00876fe0
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x58], ecx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x68], edx
mov ebx, dword [esp + 0x1b4]
mov dword [esp], ebx
call fcn.008728a0
mov ecx, dword [esp + 0x58]
test ecx, ecx
je 0x876c4a
je 0x876c46
mov eax, dword [ecx + 4]
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0xa4], eax
movzx eax, byte [0xdd7a48]
test al, al
jne 0x876c25
add esp, 0x1b0
ret
lea eax, [esp + 0xa0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.004d6a70
jmp 0x876c1e
mov eax, ecx
jmp 0x876beb
mov eax, dword [esp + 0x1cc]
mov ecx, dword [esp + 0x1c8]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [0x982162]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 3
call fcn.004dd3b0
mov eax, dword [esp + 0x10]
test eax, eax
jge 0x876d09
mov eax, dword [esp + 0x1c8]
mov ecx, dword [esp + 0x1cc]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x984ca4]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 7
call fcn.004dd3b0
mov eax, dword [esp + 0x10]
test eax, eax
jge 0x876cbd
add esp, 0x1b0
ret
mov eax, dword [esp + 0x1b4]
mov eax, dword [eax + 0x2c]
mov dword [esp], eax
mov dword [esp + 4], 0x3e9
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.00865b70
mov dword [esp], 0x1dcd6500
mov dword [esp + 4], 0
call fcn.00447690
mov dword [esp], 0
call fcn.004c40b0
jmp 0x876cb6
mov eax, dword [esp + 0x1b4]
mov dword [esp], eax
call fcn.00875de0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
lea eax, [0x8eba40]
mov dword [esp + 0x98], eax
lea eax, [0xa453c8]
mov dword [esp + 0x9c], eax
movzx eax, byte [0xdd7a48]
test al, al
je 0x876c82
lea eax, [esp + 0x98]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.004d6a70
jmp 0x876c82
lea eax, [esp + 0xb0]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.004d6a70
jmp 0x876b03
lea eax, [esp + 0xb8]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.004d6a70
jmp 0x876a43
lea ecx, [edi + 4]
mov edx, edi
mov edi, ecx
call fcn.00456fe0
lea edi, [edx + 0xc]
mov eax, ebx
call fcn.00456fe0
mov edi, edx
jmp 0x876964
lea eax, [esp + 0xc8]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.004d6a70
jmp 0x8768a9
lea edi, [edx + 0x18]
call fcn.00456fe0
jmp 0x87686a
lea edi, [edx + 0x10]
call fcn.00456fe0
jmp 0x876848
mov dword [esp], edx
lea eax, [0x98dc46]
mov dword [esp + 4], eax
mov dword [esp + 8], ecx
call fcn.00402300
movzx eax, byte [esp + 0xc]
test al, al
je 0x87659a
mov esi, dword [esp + 0x1d4]
test esi, esi
je 0x876fc7
lea edi, [esp + 0x170]
call fcn.00457720
mov edi, esp
lea esi, [esp + 0x170]
call fcn.00457720
call fcn.007484f0
lea esi, [esp + 0x40]
lea edi, [esp + 0x10c]
call fcn.0045778e
lea edi, [esp + 0xf8]
xor eax, eax
call fcn.004572ab
mov eax, dword [esp + 0x110]
mov ecx, dword [esp + 0x10c]
mov dword [esp + 0xf8], ecx
mov dword [esp + 0xfc], eax
mov eax, dword [esp + 0x1b4]
mov eax, dword [eax + 0x20]
mov dword [esp], eax
lea edi, [esp + 4]
lea esi, [esp + 0xf8]
call fcn.0045778e
call fcn.00757c90
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x876f0f
je 0x876edc
mov ecx, dword [ecx + 4]
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], eax
movzx eax, byte [0xdd7a48]
test al, al
jne 0x876fa3
mov eax, dword [esp + 0x1d4]
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 0
lea ecx, [0x8eba40]
mov dword [esp + 0xd8], ecx
lea ecx, [0xa453a8]
mov dword [esp + 0xdc], ecx
lea ecx, [0x927320]
mov dword [esp + 0xe0], ecx
mov dword [esp + 0xe4], eax
movzx eax, byte [0xdd7a48]
test al, al
jne 0x876f82
add esp, 0x1b0
ret
lea eax, [esp + 0xd8]
mov dword [esp], eax
mov dword [esp + 4], 2
mov dword [esp + 8], 2
call fcn.004d6a70
jmp 0x876f7b
lea eax, [esp + 0x90]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.004d6a70
jmp 0x876f0f
add esp, 0x1b0
ret
call fcn.004557a0
jmp fcn.00876560