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

Disassembly:
push 0xffffffffffffffff
push 0x94a5ce
mov eax, dword fs:[0]
push eax
sub esp, 0x5dc
mov eax, dword [0x99986c]
xor eax, esp
mov dword [esp + 0x5d8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x99986c]
xor eax, esp
push eax
lea eax, [esp + 0x5f0]
mov dword fs:[0], eax
cmp dword [esp + 0x604], 1
mov eax, dword [esp + 0x60c]
mov ecx, dword [esp + 0x610]
mov edx, dword [esp + 0x614]
mov ebp, dword [esp + 0x61c]
mov esi, dword [esp + 0x600]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x618]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x620]
mov dword [esp + 0x30], edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], ecx
jne 0x87695e
call dword [0x982264]
lea ecx, [esp + 0x6c]
mov dword [esp + 0x34], eax
call fcn.0090a020
xor ebx, ebx
mov dword [esp + 0x5f8], ebx
lea ecx, [esp + 0x110]
call fcn.0090a020
mov byte [esp + 0x5f8], 1
lea ecx, [esp + 0x1b4]
call fcn.0090a020
mov byte [esp + 0x5f8], 2
lea ecx, [esp + 0x258]
call fcn.0090a020
mov byte [esp + 0x5f8], 3
lea edx, [esp + 0x258]
push edx
push esi
call fcn.008f04d0
lea ecx, [esp + 0x70]
push ecx
lea edx, [esp + 0x78]
push edx
push eax
call fcn.008993e0
add esp, 0x14
test al, al
jne 0x876965
mov byte [esp + 0x5f8], 2
lea ecx, [esp + 0x258]
call fcn.009098c0
mov byte [esp + 0x5f8], 1
lea ecx, [esp + 0x1b4]
call fcn.009098c0
mov byte [esp + 0x5f8], bl
lea ecx, [esp + 0x110]
call fcn.009098c0
mov dword [esp + 0x5f8], 0xffffffff
lea ecx, [esp + 0x6c]
call fcn.009098c0
xor al, al
jmp 0x876e41
mov eax, dword [esp + 0x6c]
push eax
call fcn.008972a0
add esp, 4
test al, al
je 0x87690f
mov eax, dword [esp + 0x6c]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x876980
sub eax, edx
sar eax, 1
mov edi, eax
lea esi, [edi - 1]
push esi
lea ecx, [esp + 0x70]
call fcn.009094f0
cmp word [eax], 0x5c
je 0x8769b4
push esi
lea ecx, [esp + 0x70]
call fcn.009094f0
cmp word [eax], 0x2f
jne 0x8769dd
cmp edi, 3
jne 0x8769ce
push 1
lea ecx, [esp + 0x70]
call fcn.009094f0
cmp word [eax], 0x3a
je 0x87690f
mov ecx, dword [esp + 0x70]
dec ecx
push ecx
lea ecx, [esp + 0x70]
call fcn.00909e10
mov eax, dword [esp + 0x6c]
push ebx
push ebx
push ebx
lea edx, [esp + 0x11c]
push edx
push eax
call fcn.0089ab20
add esp, 0x14
test al, al
jne 0x876a4b
mov edx, dword [esp + 0x6c]
push ebx
lea ecx, [esp + 0x1b8]
push ecx
push edx
call fcn.008979c0
add esp, 0xc
test al, al
je 0x876a3b
mov eax, dword [esp + 0x1b4]
push 7
push 0x10
push eax
call fcn.00898b80
add esp, 0xc
test al, al
jne 0x876a3b
push 3
call dword [0x9822c8]
mov dword [ebp], ebx
jmp 0x876df0
push 2
call dword [0x9822c8]
mov dword [ebp], ebx
jmp 0x876df0
lea ecx, [esp + 0x3a0]
call fcn.0090a020
mov byte [esp + 0x5f8], 4
mov edx, dword [esp + 0x110]
push 1
lea ecx, [esp + 0x3a4]
push ecx
push edx
call fcn.00865370
add esp, 0xc
lea ecx, [esp + 0x2fc]
call fcn.0090a020
mov byte [esp + 0x5f8], 5
mov eax, dword [esp + 0x3a0]
push eax
lea ecx, [esp + 0x300]
push ecx
call fcn.0085f920
add esp, 8
lea ecx, [esp + 0x44]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], ebx
mov byte [esp + 0x17], bl
call fcn.0085f110
mov byte [esp + 0x5f8], 6
lea ecx, [esp + 0x44]
call fcn.00863ea0
lea ecx, [esp + 0x44]
call fcn.008601c0
mov ebp, eax
xor esi, esi
lea esp, [esp]
cmp byte [esp + 0x17], bl
jne 0x876bf0
mov edx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x3a4]
lea eax, [esp + 0x3c]
push eax
mov eax, dword [esi*4 + 0x998258]
lea ecx, [esp + 0x20]
push ecx
push edx
push eax
lea ecx, [esp + 0x58]
push ecx
call fcn.0087aff0
mov edi, eax
add esp, 0x18
cmp edi, 1
je 0x876ca0
mov eax, dword [esp + 0x38]
cmp eax, 1
jle 0x876b53
cmp eax, dword [esp + 0x3c]
jle 0x876b53
mov ecx, dword [esp + 0x18]
cmp ecx, ebx
je 0x876b53
mov dword [esp + 0x3c], eax
mov eax, dword [esi*4 + 0x998258]
push eax
push ecx
lea ecx, [esp + 0x4c]
call fcn.0085f250
mov ebp, dword [eax]
and ebp, 7
cmp edi, ebx
jne 0x876be6
mov eax, dword [esi*4 + 0x998258]
mov edx, dword [esp + 0x18]
push eax
push edx
lea ecx, [esp + 0x4c]
mov dword [esp + 0x48], 0x60
call fcn.0085f250
mov edi, dword [eax]
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x44]
push ecx
mov ecx, dword [esi*4 + 0x998258]
lea edx, [esp + 0x4f0]
push edx
lea eax, [esp + 0x70]
push eax
push ebx
push 1
push ebx
push 0x959de8
push ecx
lea edx, [esp + 0x68]
push edx
lea ecx, [esp + 0x40]
and edi, 7
call fcn.0087a830
test eax, eax
jne 0x876be6
mov al, byte [esp + 0x4e8]
cmp dword [esp + 0x4ec], ebx
je 0x876bd4
cmp esi, ebx
jne 0x876bd4
cmp al, 1
jne 0x876bd4
mov byte [esp + 0x17], al
cmp edi, 3
je 0x876cb7
cmp edi, 4
je 0x876cb7
inc esi
cmp esi, 2
jl 0x876ae0
cmp ebp, ebx
je 0x876d3a
cmp ebp, 2
je 0x876d3a
cmp byte [esp + 0x17], bl
jne 0x876c23
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x110]
push edx
push 1
push eax
lea ecx, [esp + 0x50]
push ecx
call fcn.00870240
add esp, 0x10
lea ecx, [esp + 0x548]
call fcn.0090a020
mov byte [esp + 0x5f8], 9
mov eax, dword [esp + 0x2fc]
lea edx, [esp + 0x548]
push edx
push eax
call fcn.00912880
mov ecx, dword [esp + 0x3c]
add esp, 8
push ecx
call dword [0x9822c8]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x610]
push ecx
mov ecx, dword [esp + 0x554]
push edx
push eax
push 1
push ecx
call dword [0x982560]
mov edx, dword [esp + 0x20]
mov dword [edx], eax
mov byte [esp + 0x5f8], 6
lea ecx, [esp + 0x548]
jmp 0x876db2
push 3
call dword [0x9822c8]
mov eax, dword [esp + 0x20]
mov dword [eax], 0xffffffff
jmp 0x876db7
cmp esi, 1
je 0x876cc0
cmp al, 1
je 0x876cdb
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x110]
push ecx
push ebx
push edx
lea eax, [esp + 0x50]
push eax
call fcn.00870240
add esp, 0x10
lea ecx, [esp + 0x444]
call fcn.0090a020
mov byte [esp + 0x5f8], 7
mov edx, dword [esp + 0x2fc]
lea ecx, [esp + 0x444]
push ecx
push edx
call fcn.00912880
mov eax, dword [esp + 0x3c]
add esp, 8
push eax
call dword [0x9822c8]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x610]
push eax
mov eax, dword [esp + 0x450]
push ecx
push edx
push 1
push eax
jmp 0x876d97
lea ecx, [esp + 0x444]
call fcn.0090a020
mov byte [esp + 0x5f8], 8
mov ecx, dword [esp + 0x110]
lea eax, [esp + 0x444]
push eax
push ecx
call fcn.00912880
mov edx, dword [esp + 0x3c]
add esp, 8
push edx
call dword [0x9822c8]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x610]
push edx
mov edx, dword [esp + 0x450]
push eax
push ecx
push 1
push edx
call dword [0x982560]
mov ecx, dword [esp + 0x20]
mov dword [ecx], eax
mov byte [esp + 0x5f8], 6
lea ecx, [esp + 0x444]
call fcn.009098c0
mov byte [esp + 0x5f8], 5
lea ecx, [esp + 0x44]
call fcn.00860180
mov byte [esp + 0x5f8], 4
lea ecx, [esp + 0x2fc]
call fcn.009098c0
mov byte [esp + 0x5f8], 3
lea ecx, [esp + 0x3a0]
call fcn.009098c0
mov byte [esp + 0x5f8], 2
lea ecx, [esp + 0x258]
call fcn.009098c0
mov byte [esp + 0x5f8], 1
lea ecx, [esp + 0x1b4]
call fcn.009098c0
mov byte [esp + 0x5f8], bl
lea ecx, [esp + 0x110]
call fcn.009098c0
mov dword [esp + 0x5f8], 0xffffffff
lea ecx, [esp + 0x6c]
call fcn.009098c0
mov al, 1
mov ecx, dword [esp + 0x5f0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x5d8]
xor ecx, esp
call fcn.0091b0aa
add esp, 0x5e8
ret