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

Disassembly:
sub esp, 0x50
mov ecx, dword [esp + 0x54]
mov edx, dword [ecx]
mov eax, dword [esp + 0x68]
mov ecx, dword [edx]
push ebx
push ebp
push esi
xor esi, esi
test dword [eax + 0x24], 0x400
push edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x30], ecx
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
je 0x1008812a
movzx eax, byte [eax + 0x1d]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
cmp word [esp + 0x74], si
je 0x10088141
test byte [ecx + 0x3c], 0x80
je 0x10088141
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
mov eax, dword [esp + 0x68]
movzx eax, word [eax]
cmp ax, 0x3f
ja 0x10088137
movzx ecx, ax
mov eax, 1
xor edx, edx
mov byte [esp + 0x12], 1
mov dword [esp + 0x20], ecx
call fcn.100c18d0
add eax, 0xffffffff
adc edx, 0xffffffff
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], edx
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x28], esi
jmp 0x10088190
mov ecx, dword [esp + 0x3c]
cmp ecx, dword [esp + 0x54]
ja 0x1008865b
jb 0x100881ae
mov edx, dword [esp + 0x38]
cmp edx, dword [esp + 0x50]
jae 0x1008865b
movzx eax, word [esp + 0x74]
mov edx, dword [esp + 0x28]
cmp edx, eax
jg 0x1008865b
xor esi, esi
cmp edx, esi
jle 0x100881d7
mov ecx, dword [esp + 0x18]
mov edi, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
or dword [esp + 0x40], edi
or dword [esp + 0x44], ecx
cmp edx, eax
jge 0x100881e7
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 0x18]
mov edx, dword [ecx + edx*4]
jmp 0x100881eb
mov edx, dword [esp + 0x78]
cmp dword [esp + 0x20], esi
movzx eax, byte [edx + 0x10]
mov ecx, dword [esp + 0x64]
mov ecx, dword [ecx + 4]
lea eax, [eax + eax*8]
mov eax, dword [ecx + eax*8 + 0x34]
mov dword [esp + 0x18], edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], esi
jle 0x10088341
mov dword [esp + 0x1c], esi
jmp 0x10088220
mov ecx, dword [esp + 0x24]
mov eax, 1
xor edx, edx
call fcn.100c18d0
mov edi, edx
mov ebx, eax
and eax, dword [esp + 0x38]
mov ecx, edi
and ecx, dword [esp + 0x3c]
mov dword [esp + 0x5c], edi
or eax, ecx
jne 0x10088325
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx + 8]
mov eax, dword [esp + 0x1c]
mov esi, dword [eax + edx]
test esi, esi
je 0x10088271
lea esp, [esp]
mov al, byte [esi]
cmp al, 0x5c
je 0x1008826a
cmp al, 0x18
jne 0x10088271
mov esi, dword [esi + 8]
test esi, esi
jne 0x10088260
cmp byte [esi], 0x98
jne 0x10088325
mov ecx, dword [esp + 0x2c]
cmp dword [esi + 0x18], ecx
jne 0x10088325
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
movsx ecx, word [esi + 0x1c]
push 0
not eax
not edx
push eax
push edx
mov edx, dword [esp + 0x70]
push ecx
mov ecx, dword [esp + 0x3c]
add edx, 0x140
mov eax, 0x82
call fcn.10082d10
mov ebp, eax
add esp, 0x10
test ebp, ebp
je 0x10088325
test byte [ebp + 0x10], 2
je 0x1008831d
cmp word [esi + 0x1c], 0
jl 0x1008831d
mov edx, dword [esp + 0x68]
mov eax, dword [edx + 8]
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ecx + eax]
mov edi, dword [edx]
call fcn.10057840
test eax, eax
jne 0x100882ee
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [esp + 0x64]
mov ecx, dword [ebp]
mov edi, dword [edx]
mov esi, dword [eax]
call fcn.10057840
test eax, eax
jne 0x10088309
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 8]
mov ecx, dword [eax]
push ecx
push esi
call fcn.10030a80
add esp, 8
test eax, eax
jne 0x10088325
mov edi, dword [esp + 0x5c]
or dword [esp + 0x38], ebx
or dword [esp + 0x3c], edi
mov eax, dword [esp + 0x24]
add dword [esp + 0x1c], 0x18
inc eax
cmp eax, dword [esp + 0x20]
mov dword [esp + 0x24], eax
jl 0x10088220
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x24]
test eax, 0x1000
jne 0x100885bc
test eax, 0x100
je 0x10088360
xor esi, esi
mov dword [esp + 0x24], esi
xor eax, eax
jmp 0x10088388
mov ecx, dword [edx + 0x1c]
mov dword [esp + 0x24], ecx
test ecx, ecx
je 0x10088137
test byte [ecx + 0x30], 4
jne 0x10088137
cmp byte [ecx + 0x2e], 0
movzx eax, word [ecx + 0x2c]
setne byte [esp + 0x12]
mov esi, ecx
movzx ebx, ax
xor edi, edi
mov byte [esp + 0x16], 0
mov byte [esp + 0x15], 0
mov byte [esp + 0x17], 0
mov dword [esp + 0x1c], edi
mov dword [esp + 0x34], ebx
test ebx, ebx
jl 0x100885bc
lea esp, [esp]
mov ecx, dword [edx + 0x18]
cmp edi, ecx
jge 0x100883d7
mov edx, dword [edx + 0x2c]
mov eax, dword [edx + edi*4]
movzx eax, word [eax + 0x10]
test al, 0x82
je 0x100883d7
test al, al
jns 0x10088598
mov byte [esp + 0x12], 0
jmp 0x10088598
cmp edi, ebx
jge 0x100883f8
mov edx, dword [esi + 4]
mov ebx, dword [edx + edi*4]
mov eax, dword [esi + 0x1c]
mov dl, byte [edi + eax]
mov eax, dword [esi + 0xc]
mov byte [esp + 0x13], dl
movsx edx, word [eax + 0x24]
cmp ebx, edx
jne 0x10088400
jmp 0x100883fd
mov byte [esp + 0x13], 0
or ebx, 0xffffffff
cmp byte [esp + 0x12], 0
je 0x10088424
test ebx, ebx
jl 0x10088424
cmp edi, ecx
jl 0x10088424
mov eax, dword [esi + 0xc]
mov edx, dword [eax + 4]
lea ecx, [ebx + ebx*2]
cmp byte [edx + ecx*8 + 0x14], 0
jne 0x10088424
mov byte [esp + 0x12], 0
xor esi, esi
mov byte [esp + 0x14], 1
xor ebp, ebp
lea ecx, [ecx]
cmp esi, dword [esp + 0x20]
jge 0x100884eb
mov eax, 1
xor edx, edx
mov ecx, esi
call fcn.100c18d0
and eax, dword [esp + 0x38]
and edx, dword [esp + 0x3c]
or eax, edx
jne 0x100884d8
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 8]
mov ecx, dword [ecx + ebp]
mov eax, ecx
test eax, eax
je 0x1008847b
mov dl, byte [eax]
cmp dl, 0x5c
je 0x10088474
cmp dl, 0x18
jne 0x1008847b
mov eax, dword [eax + 8]
test eax, eax
jne 0x10088468
test dword [esp + 0x70], 0x300
jne 0x1008848a
mov byte [esp + 0x14], 0
cmp byte [eax], 0x98
jne 0x100884d8
mov edx, dword [esp + 0x2c]
cmp dword [eax + 0x18], edx
jne 0x100884d8
movsx eax, word [eax + 0x1c]
cmp eax, ebx
jne 0x100884d8
test ebx, ebx
jl 0x10088513
mov edx, dword [esp + 0x64]
mov edi, dword [edx]
call fcn.10057840
test eax, eax
jne 0x100884ba
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 8]
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + 0x20]
mov ecx, dword [esp + 0x1c]
mov edx, dword [edx + ecx*4]
mov eax, dword [eax]
push edx
push eax
call fcn.10030a80
add esp, 8
test eax, eax
je 0x1008850f
mov edi, dword [esp + 0x1c]
inc esi
add ebp, 0x18
cmp byte [esp + 0x14], 0
jne 0x10088430
test edi, edi
je 0x100884f5
cmp edi, dword [esp + 0x34]
jge 0x100884fa
mov byte [esp + 0x12], 0
cmp byte [esp + 0x17], 0
je 0x100885bc
mov byte [esp + 0x12], 1
jmp 0x100885c7
test ebx, ebx
jge 0x10088518
mov byte [esp + 0x17], 1
mov eax, 1
xor edx, edx
mov ecx, esi
call fcn.100c18d0
or dword [esp + 0x3c], edx
mov edx, dword [esp + 0x64]
or dword [esp + 0x38], eax
mov ecx, 0x100
test word [edx + 0x22], cx
jne 0x10088598
cmp byte [esp + 0x16], 0
je 0x10088562
mov al, byte [esp + 0x13]
mov edx, dword [esp + 0x68]
xor al, byte [esp + 0x15]
mov edx, dword [edx + 8]
lea ecx, [esi + esi*2]
cmp al, byte [edx + ecx*8 + 0xc]
jne 0x10088137
jmp 0x10088598
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx + 8]
lea eax, [esi + esi*2]
mov al, byte [edx + eax*8 + 0xc]
xor al, byte [esp + 0x13]
mov byte [esp + 0x15], al
je 0x10088593
mov ecx, dword [esp + 0x28]
mov eax, 1
xor edx, edx
call fcn.100c18d0
mov ecx, dword [esp + 0x7c]
or dword [ecx], eax
or dword [ecx + 4], edx
mov byte [esp + 0x16], 1
mov edi, dword [esp + 0x1c]
inc edi
cmp edi, dword [esp + 0x34]
mov dword [esp + 0x1c], edi
jg 0x100884fa
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x24]
mov ebx, dword [esp + 0x34]
jmp 0x100883b0
cmp byte [esp + 0x12], 0
je 0x1008864c
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
or dword [esp + 0x48], ecx
or dword [esp + 0x4c], edx
xor ebp, ebp
cmp dword [esp + 0x20], ebp
jle 0x1008864c
mov dword [esp + 0x34], ebp
mov eax, 1
xor edx, edx
mov ecx, ebp
call fcn.100c18d0
mov edi, edx
mov esi, eax
and eax, dword [esp + 0x38]
mov ecx, edi
and ecx, dword [esp + 0x3c]
or eax, ecx
jne 0x10088640
mov eax, dword [esp + 0x68]
mov ecx, dword [eax + 8]
mov edx, dword [esp + 0x34]
mov eax, dword [edx + ecx]
push eax
mov eax, dword [esp + 0x68]
add eax, 0x3c
push eax
call fcn.100825e0
mov ecx, dword [esp + 0x50]
mov ebx, dword [esp + 0x54]
not ecx
not ebx
and eax, ecx
and edx, ebx
add esp, 8
or eax, edx
jne 0x10088640
or dword [esp + 0x38], esi
or dword [esp + 0x3c], edi
add dword [esp + 0x34], 0x18
inc ebp
cmp ebp, dword [esp + 0x20]
jl 0x100885e5
inc dword [esp + 0x28]
cmp byte [esp + 0x12], 0
jne 0x10088190
mov edx, dword [esp + 0x50]
cmp dword [esp + 0x38], edx
jne 0x1008867c
mov eax, dword [esp + 0x54]
cmp dword [esp + 0x3c], eax
jne 0x1008867c
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
movzx eax, byte [esp + 0x12]
pop edi
pop esi
neg eax
pop ebp
sbb eax, eax
pop ebx
add esp, 0x50
ret