Function at 0x86d112
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x920
mov edx, dword [esp + 0x934]
mov eax, dword [esp + 0x938]
push ebp
push esi
mov esi, dword [esp + 0x92c]
mov ecx, dword [esi]
mov ebp, dword [esi + 0x5c]
mov byte [esi + 0x1d3], 1
mov dl, byte [edx]
test dl, dl
push edi
mov dword [esp + 0x24], eax
jns 0x86d152
mov eax, dword [ecx + 0x10c]
mov dword [esp + 0x10], eax
jmp 0x86d15a
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x934]
add eax, 2
mov dword [esp + 0x1c], eax
movzx ax, byte [edi]
movzx di, byte [edi + 1]
shl eax, 8
add eax, edi
movzx di, dl
mov edx, dword [esp + 0x940]
movzx dx, byte [edx + 1]
and eax, 0x7fff
mov dword [esp + 0x18], eax
shl edi, 8
add edi, edx
mov edx, dword [ecx + 0x10c]
mov dword [esp + 0x14], edx
mov edx, dword [esi + 0xe8]
imul edx, edx, 0x38
add edx, dword [ecx + 0x180]
and edi, 0x7fff
cmp edx, ebx
mov dword [esp + 0x40], edi
jne 0x86d1c6
mov byte [esi + 0x1d2], 1
mov edx, dword [esp + 0x934]
mov ecx, dword [esp + 0x944]
add eax, edx
cmp ecx, eax
mov dword [esp + 0x30], eax
jae 0x86d1e6
mov eax, dword [esi + 4]
test byte [eax], 1
jne 0x86d1fa
mov eax, dword [esp + 0x14]
lea eax, [eax + edx + 2]
cmp ecx, eax
mov dword [esp + 0x34], eax
jne 0x86d6df
test byte [ebx + 2], 0x20
je 0x86d220
lea eax, [esp + 0xc]
push eax
push ecx
push ebp
push edx
push ebx
push esi
call fcn.00879482
add esp, 0x18
test eax, eax
mov dword [esp + 0x24], eax
je 0x86db6d
jmp 0x86d246
mov edx, dword [esp + 0x14]
push ebp
lea ecx, [esp + 0x28]
push ecx
push edx
push ebx
mov byte [ebp + 1], 0
mov byte [ebp], 0
call dword [ebx + 0x24]
add esp, 0x10
test eax, eax
je 0x86db6d
mov eax, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x18]
push eax
call fcn.008787f2
push 0
push ebp
push 3
push edx
push eax
push ebx
push esi
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], edx
call fcn.0087c0d2
add esp, 0x24
test eax, eax
je 0x86db6d
movzx si, byte [ebp]
movzx cx, byte [ebp + 1]
mov edx, dword [esp + 0x24]
lea eax, [ebp + 2]
shl esi, 8
add esi, ecx
mov ecx, dword [esp + 0x14]
push ecx
push eax
sub edx, ecx
push edx
and esi, 0x7fff
call fcn.009249d2
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x944]
push ecx
mov ecx, dword [esp + 0x944]
lea edx, [esp + 0x4e8]
push edx
push eax
push ebx
push ecx
call fcn.008795b2
add esp, 0x24
test eax, eax
je 0x86db6d
mov eax, dword [esp + 0x940]
lea edx, [esp + 0xc]
push edx
lea ecx, [edi + eax]
push ecx
lea edx, [esp + 0x84]
push edx
push eax
mov eax, dword [esp + 0x940]
push ebx
push eax
call fcn.008795b2
add esp, 0x18
test eax, eax
je 0x86db6d
mov ecx, dword [esp + 0x1c]
xor eax, eax
cmp edi, ecx
sete al
lea edx, [esp + 0x7c]
add ecx, ebp
dec eax
and eax, edx
lea edx, [esp + 0x4c]
push edx
lea edx, [esp + 0x4d8]
push edx
push eax
push eax
mov eax, dword [esp + 0x20]
push ecx
push eax
push ebx
call dword [ebx + 0x28]
mov edx, dword [esp + 0x38]
mov ecx, esi
sub ecx, edx
add eax, ecx
push ecx
add eax, edi
add eax, ebp
add esi, ebp
push esi
push eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x54], eax
call fcn.009173b2
mov esi, dword [esp + 0x968]
mov ecx, edi
mov edx, ecx
shr ecx, 2
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x68]
lea eax, [esp + 0x74]
push eax
add ecx, ebp
push ecx
push ebx
call dword [ebx + 0x2c]
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
sub eax, ebp
mov ecx, dword [esp + 0x978]
mov esi, eax
mov eax, dword [esp + 0x44]
mov edi, dword [esp + 0x48]
neg eax
sbb eax, eax
and eax, 0x8000
mov dword [esp + 0x54], eax
add eax, esi
movzx eax, ax
mov byte [ebp + 1], al
shr eax, 8
mov byte [ebp], al
push edx
lea eax, [esp + 0x50c]
push eax
push ecx
push ebx
xor eax, eax
mov ecx, edi
call fcn.0086cdd2
add esp, 0x44
test eax, eax
je 0x86db6d
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x934]
sub edx, eax
mov eax, edi
neg eax
sbb eax, eax
and eax, 0x8000
mov dword [esp + 0x30], eax
add eax, edx
movzx eax, ax
mov byte [ecx + 1], al
shr eax, 8
mov byte [ecx], al
movzx eax, word [ebx + 6]
cmp esi, eax
mov dword [esp + 0x18], edx
ja 0x86d444
mov edi, dword [esp + 0x940]
mov eax, dword [esp + 0x3c]
mov ecx, esi
mov edx, ecx
shr ecx, 2
mov esi, ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
push 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x3c]
mov esi, dword [esp + 0x934]
push eax
push ecx
push ebx
push esi
call fcn.0087c292
add esp, 0x14
test eax, eax
jne 0x86db6d
jmp 0x86d68b
mov eax, dword [esp + 0x944]
lea edi, [edi + ecx + 2]
add edx, ecx
cmp eax, edi
mov dword [esp + 0x2c], edx
mov dword [esp + 0x34], edi
je 0x86d485
lea edx, [esp + 0xc]
push edx
push eax
lea eax, [esp + 0x4dc]
push eax
push ecx
mov ecx, dword [esp + 0x940]
push ebx
push ecx
call fcn.008795b2
add esp, 0x18
test eax, eax
je 0x86db6d
lea edx, [esp + 0x48]
push edx
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x84]
push ecx
push ebp
push ebx
push edx
call fcn.00861552
add esp, 0x18
test eax, eax
mov dword [esp + 0x28], eax
je 0x86db6d
mov edi, dword [esp + 0x940]
sub eax, ebp
mov ecx, eax
mov edx, ecx
shr ecx, 2
mov dword [esp + 0xc], eax
mov esi, ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [esp + 0x48]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x20]
add eax, ecx
mov ecx, dword [esp + 0x940]
movzx eax, ax
mov byte [ecx + 1], al
shr eax, 8
mov byte [ecx], al
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
push eax
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x938]
lea eax, [esp + edx + 0x84]
push eax
push ecx
call fcn.00878962
mov esi, dword [esp + 0x954]
mov edx, dword [esp + 0x44]
xor eax, eax
cmp esi, edx
sete al
lea edx, [esp + 0x4e4]
lea ecx, [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x40]
dec eax
and eax, edx
lea edx, [esp + 0x90]
push edx
push eax
push eax
xor eax, eax
cmp esi, ecx
mov ecx, dword [esp + 0x34]
sete al
dec eax
and eax, esi
push eax
push ecx
push ebx
call dword [ebx + 0x28]
mov edi, eax
mov eax, dword [esp + 0x58]
add esp, 0x2c
test edi, edi
jl 0x86d574
mov edx, eax
sub edx, esi
push edx
push eax
add eax, edi
push eax
call fcn.009173b2
jmp 0x86d584
sub eax, esi
add eax, edi
push eax
mov eax, esi
sub eax, edi
push eax
push esi
call fcn.009249d2
add esp, 0xc
lea ecx, [esp + 0x4c]
push ecx
push esi
push ebx
call dword [ebx + 0x2c]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x940]
mov esi, dword [esp + 0x1c]
add eax, edi
add edx, eax
mov dword [esp + 0x24], eax
movzx eax, dx
mov byte [ecx + 1], al
shr eax, 8
add esp, 0xc
test esi, esi
mov byte [ecx], al
je 0x86d5d2
mov eax, dword [esp + 0x28]
sub eax, esi
push esi
push eax
lea eax, [ebp + 2]
push eax
call fcn.009249d2
add esp, 0xc
lea ecx, [esp + 0x7c]
push ecx
lea edx, [esp + 0x2c]
push edx
push esi
push ebx
call dword [ebx + 0x24]
add esp, 0x10
test eax, eax
je 0x86db6d
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x80]
push ecx
push 0
push 0
push 0
push esi
push ebx
call dword [ebx + 0x28]
movzx dx, byte [ebp + 1]
mov ecx, dword [esp + 0x44]
mov esi, dword [esp + 0x38]
mov edi, eax
movzx ax, byte [ebp]
shl eax, 8
add eax, edx
and eax, 0x7fff
sub eax, ecx
add eax, ebp
push eax
mov dword [esp + 0x2c], eax
lea eax, [edi + esi]
push ecx
add eax, ebp
push eax
call fcn.009249d2
lea ecx, [esp + 0x74]
push ecx
lea eax, [esi + ebp]
push eax
push ebx
call dword [ebx + 0x2c]
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x964]
add esi, edi
mov edi, dword [esp + 0x54]
add esi, eax
add esi, edi
movzx eax, si
push ebp
mov byte [ebp + 1], al
shr eax, 8
push 3
push edx
mov byte [ebp], al
mov eax, dword [esp + 0x78]
push eax
push ebx
push ecx
call fcn.0087c182
add esp, 0x4c
test eax, eax
jne 0x86db6d
mov esi, dword [esp + 0x930]
mov edx, dword [esp + 0x940]
mov eax, dword [esp + 0x93c]
mov ecx, dword [esp + 0x938]
push edx
push 3
push eax
push ecx
push ebx
push esi
call fcn.0087c182
add esp, 0x18
test eax, eax
jne 0x86db6d
mov al, byte [esi + 0x1d1]
test al, al
mov eax, 0x14
jne 0x86db80
movzx eax, word [ebx + 8]
cmp eax, dword [esp + 0x18]
pop edi
sbb eax, eax
pop esi
inc eax
pop ebp
add esp, 0x920
ret
lea eax, [esp + 0xc]
push eax
push ecx
lea ecx, [esp + 0x4dc]
push ecx
push edx
push ebx
push esi
call fcn.008795b2
add esp, 0x18
test eax, eax
mov dword [esp + 0x944], eax
je 0x86db6d
mov edx, dword [esp + 0x14]
push eax
push edx
call fcn.008787f2
push 0
push ebp
push 3
push edx
push eax
push ebx
push esi
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], edx
call fcn.0087c0d2
add esp, 0x24
test eax, eax
je 0x86db6d
movzx si, byte [ebp]
movzx ax, byte [ebp + 1]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x24]
push ecx
shl esi, 8
sub edx, ecx
add esi, eax
mov eax, dword [esp + 0x944]
add eax, 2
push eax
push edx
and esi, 0x7fff
call fcn.009249d2
mov eax, dword [esp + 0x950]
lea ecx, [esp + 0x4e0]
push ecx
lea edx, [esp + 0x34]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x24]
push edx
push eax
push ebx
call dword [ebx + 0x24]
add esp, 0x1c
test eax, eax
je 0x86db6d
lea ecx, [esp + 0xc]
push ecx
lea eax, [esi + ebp]
push eax
mov eax, dword [esp + 0x938]
lea edx, [esp + 0x84]
push edx
push ebp
push ebx
push eax
call fcn.008795b2
add esp, 0x18
test eax, eax
je 0x86db6d
mov ecx, dword [esp + 0x1c]
xor eax, eax
cmp edi, ecx
sete al
lea edx, [esp + 0x7c]
dec eax
and eax, edx
cmp edi, ecx
jne 0x86d7d5
xor ecx, ecx
jmp 0x86d7de
mov edx, dword [esp + 0x940]
add ecx, edx
lea edx, [esp + 0x4c]
push edx
lea edx, [esp + 0x4d8]
push edx
push eax
push eax
mov eax, dword [esp + 0x20]
push ecx
push eax
push ebx
call dword [ebx + 0x28]
mov ecx, dword [esp + 0x38]
add esp, 0x1c
test eax, eax
mov dword [esp + 0x20], eax
jl 0x86d81d
mov edx, edi
sub edx, ecx
push edx
mov edx, dword [esp + 0x944]
add ecx, edx
push ecx
lea ecx, [esi + ebp]
add ecx, eax
push ecx
jmp 0x86d834
mov edx, eax
sub edx, ecx
sub ecx, eax
mov eax, dword [esp + 0x940]
add edx, edi
push edx
add ecx, eax
push ecx
lea eax, [esi + ebp]
push eax
call fcn.009249d2
add esp, 0xc
lea eax, [esp + 0x4c]
push eax
lea eax, [esi + ebp]
push eax
push ebx
call dword [ebx + 0x2c]
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x3c]
sub eax, ecx
add eax, edi
mov edi, dword [esp + 0x1c]
add esi, eax
neg edi
sbb edi, edi
and edi, 0x8000
lea ecx, [edi + esi]
movzx eax, cx
mov ecx, dword [esp + 0x950]
mov byte [ebp + 1], al
shr eax, 8
mov byte [ebp], al
push edx
lea eax, [esp + 0x4e4]
push eax
push ecx
mov ecx, dword [esp + 0x2c]
push ebx
xor eax, eax
call fcn.0086cdd2
add esp, 0x1c
test eax, eax
je 0x86db6d
mov ecx, dword [esp + 0x18]
sub ecx, eax
mov eax, dword [esp + 0x14]
neg eax
sbb eax, eax
and eax, 0x8000
mov dword [esp + 0x30], eax
add eax, ecx
movzx eax, ax
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x934]
mov byte [ecx + 1], al
shr eax, 8
mov byte [ecx], al
movzx edx, word [ebx + 6]
cmp esi, edx
ja 0x86d907
mov eax, dword [esp + 0x93c]
mov ecx, dword [esp + 0x938]
mov edx, dword [esp + 0x930]
push 3
push eax
push ecx
push ebx
push edx
call fcn.0087c292
add esp, 0x14
test eax, eax
jne 0x86db6d
jmp 0x86db4b
mov eax, dword [esp + 0x944]
cmp eax, dword [esp + 0x34]
jne 0x86d91e
mov dword [esp + 0x34], 0
jmp 0x86d951
lea edx, [esp + 0x4d4]
mov dword [esp + 0x34], edx
lea edx, [esp + 0xc]
push edx
push eax
lea eax, [esp + 0x4dc]
push eax
push ecx
mov ecx, dword [esp + 0x940]
push ebx
push ecx
call fcn.008795b2
add esp, 0x18
test eax, eax
je 0x86db6d
lea edx, [esp + 0x28]
push edx
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x84]
push ecx
push ebp
push ebx
push edx
call fcn.00861552
add esp, 0x18
test eax, eax
mov dword [esp + 0x2c], eax
je 0x86db6d
mov eax, dword [esp + 0x93c]
mov ecx, dword [esp + 0x938]
mov edx, dword [esp + 0x44]
push eax
push ecx
mov ecx, dword [esp + 0x938]
lea eax, [esp + edx + 0x84]
push eax
push ecx
call fcn.00878962
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x944]
add eax, edx
lea ecx, [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x48]
lea edx, [esp + 0x90]
push edx
push ecx
push ecx
mov ecx, dword [esp + 0x964]
xor edx, edx
cmp ecx, eax
sete dl
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x34]
dec edx
and edx, ecx
push edx
push eax
push ebx
call dword [ebx + 0x28]
mov ecx, dword [esp + 0x6c]
add esp, 0x2c
test eax, eax
mov dword [esp + 0x20], eax
jle 0x86da0a
mov edx, ecx
sub edx, dword [esp + 0x944]
push edx
push ecx
add ecx, eax
push ecx
call fcn.009173b2
jmp 0x86da21
mov edx, dword [esp + 0x944]
sub ecx, edx
add ecx, eax
push ecx
mov ecx, edx
sub ecx, eax
push ecx
push edx
call fcn.009249d2
mov eax, dword [esp + 0x950]
add esp, 0xc
lea edx, [esp + 0x4c]
push edx
push eax
push ebx
call dword [ebx + 0x2c]
mov eax, dword [esp + 0x24]
add eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x3c]
add ecx, eax
mov dword [esp + 0x24], eax
movzx eax, cx
mov ecx, dword [esp + 0x940]
mov byte [ecx + 1], al
shr eax, 8
mov byte [ecx], al
mov eax, dword [esp + 0x1c]
add esp, 0xc
test eax, eax
je 0x86da83
mov edx, dword [esp + 0x28]
push eax
sub edx, eax
mov eax, dword [esp + 0x944]
push edx
add eax, 2
push eax
call fcn.009249d2
mov eax, dword [esp + 0x1c]
add esp, 0xc
lea ecx, [esp + 0x7c]
push ecx
lea edx, [esp + 0x2c]
push edx
push eax
push ebx
call dword [ebx + 0x24]
add esp, 0x10
test eax, eax
mov dword [esp + 0xc], eax
je 0x86db6d
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x80]
push ecx
push 0
push 0
push 0
push edx
push ebx
call dword [ebx + 0x28]
mov ecx, dword [esp + 0x44]
sub esi, ecx
add esi, ebp
push esi
push ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x44], eax
mov dword [esp + 0x30], esi
mov esi, dword [esp + 0x964]
add eax, ecx
add eax, esi
push eax
call fcn.009249d2
mov eax, dword [esp + 0x44]
lea edx, [esp + 0x74]
push edx
add eax, esi
push eax
push ebx
call dword [ebx + 0x2c]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
add edx, ecx
add edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x96c]
add edx, edi
movzx eax, dx
mov edx, dword [esp + 0x964]
mov byte [esi + 1], al
push esi
shr eax, 8
push 3
mov byte [esi], al
mov eax, dword [esp + 0x978]
push eax
push ecx
push ebx
push edx
call fcn.0087c182
add esp, 0x4c
test eax, eax
jne 0x86db6d
mov eax, dword [esp + 0x2c]
sub eax, ebp
add eax, edi
movzx eax, ax
mov byte [ebp + 1], al
shr eax, 8
mov byte [ebp], al
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x930]
push ebp
push 3
push eax
push ecx
push ebx
push edx
call fcn.0087c182
add esp, 0x18
test eax, eax
je 0x86db7a
pop edi
pop esi
or eax, 0xffffffff
pop ebp
add esp, 0x920
ret
movzx eax, word [ebx + 6]
shr eax, 1
cmp eax, dword [esp + 0x18]
pop edi
sbb eax, eax
pop esi
inc eax
pop ebp
add esp, 0x920
ret