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

Disassembly:
sub esp, 0x2c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x3c]
mov ebp, dword [esp + 0x44]
push edi
mov eax, dword [esi + 0x48]
push esi
mov dword [esp + 0x1c], eax
inc eax
mov dword [esi + 0x48], eax
xor eax, eax
test ebp, ebp
sete al
mov dword [esp + 0x14], 0
mov dword [esp + 0x2c], eax
call fcn.100a5af0
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x48]
add esp, 4
mov cx, word [eax + 2]
and ecx, 0x800
cmp ecx, 0x800
jne 0x100981c5
mov ebx, dword [eax + 0x10]
jmp 0x100981c7
xor ebx, ebx
mov eax, dword [esi + 0x44]
test eax, eax
jne 0x100983b1
push ebx
call fcn.10098470
add esp, 4
test eax, eax
je 0x100983b1
mov edx, dword [ebx + 0x28]
mov ecx, dword [ebx]
mov eax, dword [esi]
mov edi, dword [edx + 0x14]
mov edx, dword [ecx + 8]
mov dword [esp + 0x20], eax
mov dword [esp + 0x30], edi
mov ebx, dword [edx]
mov edx, dword [edi + 0x44]
push edx
push eax
movsx ecx, word [ebx + 0x1c]
mov dword [esp + 0x1c], ecx
call fcn.1008f800
mov ebp, eax
push ebp
push esi
mov dword [esp + 0x3c], ebp
call fcn.1009e7b0
mov eax, dword [edi]
mov ecx, dword [edi + 0x14]
push eax
push 0
push ecx
push ebp
push esi
call fcn.1009b220
mov eax, dword [esp + 0x38]
add esp, 0x24
test eax, eax
jge 0x10098263
push esi
call fcn.10097ed0
mov edx, dword [esp + 0x1c]
push 0x27
push edi
push ebp
push edx
push esi
mov ebx, eax
call fcn.100a0e40
mov eax, dword [esp + 0x58]
push ebx
push eax
mov esi, 1
call fcn.10095b30
add esp, 0x20
jmp 0x10098457
push ebx
mov ebx, dword [esp + 0x48]
mov ecx, dword [ebx + 8]
push ecx
push esi
call fcn.10097660
push ebx
mov dword [esp + 0x34], eax
call fcn.10098110
mov edx, dword [esp + 0x24]
mov ebx, dword [edi + 0xc]
add esp, 0x10
lea ecx, [edx + edx*2]
shl ecx, 3
mov dword [esp + 0x34], ecx
cmp byte [ebx + ecx + 0x16], al
je 0x100982a2
cmp al, 0x62
mov dword [esp + 0x1c], 0
jne 0x100982aa
mov dword [esp + 0x1c], 1
mov edi, dword [edi + 0x10]
test edi, edi
je 0x100983ad
jmp 0x100982bb
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x10098453
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x100983ad
mov eax, dword [edi + 4]
cmp dword [eax], edx
jne 0x10098396
mov ecx, dword [edi + 0x20]
mov eax, dword [esp + 0x20]
push 0
mov edx, dword [ecx]
mov ecx, dword [eax + 0x10]
push edx
mov edx, dword [ecx + 0xc]
mov cl, byte [edx + 0x4d]
push ecx
push eax
call fcn.1008f6d0
mov ecx, dword [esp + 0x34]
add esp, 0x10
cmp eax, ecx
jne 0x10098396
mov eax, dword [esp + 0x28]
test eax, eax
je 0x1009831e
cmp dword [edi + 0x24], 1
jne 0x10098396
mov al, byte [edi + 0x2c]
test al, al
je 0x10098396
push edi
push esi
call fcn.1009ebb0
push esi
mov ebx, eax
call fcn.10097ed0
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x24]
mov ebp, eax
mov eax, dword [edi + 0x28]
push 0xfffffffffffffff0
push ebx
mov ebx, dword [esp + 0x54]
push edx
push eax
push ecx
push 0x27
push ebx
call fcn.10095130
push ebp
push ebx
mov dword [esp + 0x40], 3
call fcn.10095b30
mov eax, dword [esp + 0x78]
add esp, 0x30
test eax, eax
je 0x10098396
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov eax, dword [edx + 0xc]
mov dl, byte [eax + ecx + 0x14]
test dl, dl
jne 0x10098396
mov eax, dword [esi + 0x4c]
mov edx, dword [esp + 0x48]
inc eax
mov dword [esi + 0x4c], eax
mov dword [edx], eax
push eax
push 0
mov eax, ebx
push 0xa
push eax
call fcn.10095b10
add esp, 0x10
mov edi, dword [edi + 0x14]
test edi, edi
jne 0x100982b7
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x10098453
mov ebp, dword [esp + 0x48]
mov ecx, dword [esi + 0x1b0]
mov edx, dword [esi + 0x1b4]
xor edi, edi
mov dword [esp + 0x34], ecx
test ebp, ebp
mov dword [esp + 0x38], edx
mov ebx, 2
je 0x100983f4
mov ecx, dword [esi + 0x4c]
mov eax, dword [esp + 0x40]
inc ecx
mov edi, ecx
mov dword [esi + 0x4c], ecx
push edi
push 0
push 0xa
push eax
mov dword [ebp], edi
call fcn.10095b10
mov eax, dword [esp + 0x54]
add esp, 0x10
jmp 0x10098421
mov eax, dword [esp + 0x44]
mov dword [esi + 0x1b0], 0
mov dword [esi + 0x1b4], 0x3ff00000
mov ecx, dword [eax + 8]
cmp word [ecx + 0x1c], 0
jge 0x10098421
test byte [eax + 3], 8
jne 0x10098421
mov ebx, 1
xor edx, edx
cmp ebx, 1
sete dl
push edx
push edi
push eax
push esi
call fcn.10097a50
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
add esp, 0x10
mov dword [esi + 0x1b0], eax
mov dword [esi + 0x1b4], ecx
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x18]
pop edi
mov dword [edx + 0x18], eax
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret