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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], 0
mov ebx, edx
push edi
mov dword [ebp - 0x10], ebx
test dword [esi + 8], 0x80000
je 0x100099d2
mov eax, dword [esi + 0x1c]
sub eax, dword [esi + 0x40]
cmp eax, dword [esi + 0x24]
ja 0x100099d2
mov edx, 1
jmp 0x100099d4
xor edx, edx
cmp dword [esi], 0
jne 0x100099f4
mov eax, dword [esi + 0x7c]
mov ecx, dword [esi + 0x8c]
mov eax, dword [eax]
sub eax, ecx
cmp eax, 0x14ccc
jb 0x100099f4
mov eax, dword [esi + 0x74]
add eax, ecx
jmp 0x100099fa
lea eax, [esi + 0x39272]
mov cl, byte [esi + 0x38]
mov dword [esi + 0x30], eax
mov dword [ebp - 0xc], eax
add eax, 0x14cbc
mov dword [esi + 0x34], eax
mov eax, dword [esi + 0x2c]
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
shr byte [eax], cl
xor eax, eax
cmp dword [esi + 0x38], 8
sete al
sub dword [esi + 0x28], eax
test dword [esi + 8], 0x1000
je 0x10009aa4
cmp dword [esi + 0x64], 0
jne 0x10009aa4
mov ecx, dword [esi + 0x44]
mov eax, 0x78
shl eax, cl
or dword [esi + 0x48], eax
lea eax, [ecx + 8]
mov dword [esi + 0x44], eax
cmp eax, 8
jb 0x10009a6f
mov ecx, dword [esi + 0x30]
cmp ecx, dword [esi + 0x34]
jae 0x10009a61
mov al, byte [esi + 0x48]
mov byte [ecx], al
inc dword [esi + 0x30]
shr dword [esi + 0x48], 8
add dword [esi + 0x44], 0xfffffff8
cmp dword [esi + 0x44], 8
jae 0x10009a51
mov ecx, dword [esi + 0x44]
mov eax, dword [esi + 0x48]
bts eax, ecx
mov dword [esi + 0x48], eax
lea eax, [ecx + 8]
mov dword [esi + 0x44], eax
cmp eax, 8
jb 0x10009aa4
mov ecx, dword [esi + 0x30]
cmp ecx, dword [esi + 0x34]
jae 0x10009a96
mov al, byte [esi + 0x48]
mov byte [ecx], al
inc dword [esi + 0x30]
shr dword [esi + 0x48], 8
add dword [esi + 0x44], 0xfffffff8
cmp dword [esi + 0x44], 8
jae 0x10009a86
mov ecx, dword [esi + 0x44]
xor eax, eax
cmp ebx, 4
sete al
shl eax, cl
or dword [esi + 0x48], eax
lea eax, [ecx + 1]
mov dword [esi + 0x44], eax
cmp eax, 8
jb 0x10009ade
nop
mov ecx, dword [esi + 0x30]
cmp ecx, dword [esi + 0x34]
jae 0x10009ad0
mov al, byte [esi + 0x48]
mov byte [ecx], al
inc dword [esi + 0x30]
shr dword [esi + 0x48], 8
add dword [esi + 0x44], 0xfffffff8
cmp dword [esi + 0x44], 8
jae 0x10009ac0
mov ecx, dword [esi + 0x44]
mov edi, dword [esi + 0x30]
mov ebx, dword [esi + 0x48]
mov dword [ebp - 8], ecx
test edx, edx
jne 0x10009b33
test dword [esi + 8], 0x40000
jne 0x10009b06
cmp dword [esi + 0x3c], 0x30
jb 0x10009b06
mov ecx, esi
call fcn.10008ff0
jmp 0x10009b0d
mov ecx, esi
call fcn.10009640
mov ecx, esi
call fcn.10009740
mov edx, dword [esi + 0x3c]
mov dword [ebp - 4], eax
test edx, edx
je 0x10009c3e
mov ecx, dword [esi + 0x30]
sub ecx, edi
inc ecx
cmp ecx, edx
jb 0x10009c3e
mov ecx, dword [ebp - 8]
mov eax, dword [esi + 0x1c]
sub eax, dword [esi + 0x40]
cmp eax, dword [esi + 0x24]
ja 0x10009c3b
lea eax, [ecx + 2]
mov dword [esi + 0x30], edi
mov dword [esi + 0x48], ebx
mov dword [esi + 0x44], eax
cmp eax, 8
jb 0x10009b71
mov ecx, dword [esi + 0x30]
cmp ecx, dword [esi + 0x34]
jae 0x10009b63
mov al, byte [esi + 0x48]
mov byte [ecx], al
inc dword [esi + 0x30]
shr dword [esi + 0x48], 8
add dword [esi + 0x44], 0xfffffff8
cmp dword [esi + 0x44], 8
jae 0x10009b53
cmp dword [esi + 0x44], 0
je 0x10009b9e
mov dword [esi + 0x44], 8
nop
mov ecx, dword [esi + 0x30]
cmp ecx, dword [esi + 0x34]
jae 0x10009b90
mov al, byte [esi + 0x48]
mov byte [ecx], al
inc dword [esi + 0x30]
shr dword [esi + 0x48], 8
add dword [esi + 0x44], 0xfffffff8
cmp dword [esi + 0x44], 8
jae 0x10009b80
mov edx, 2
mov ecx, dword [esi + 0x44]
movzx eax, word [esi + 0x3c]
shl eax, cl
or dword [esi + 0x48], eax
lea eax, [ecx + 0x10]
mov dword [esi + 0x44], eax
cmp eax, 8
jb 0x10009bde
nop word [eax + eax]
mov ecx, dword [esi + 0x30]
cmp ecx, dword [esi + 0x34]
jae 0x10009bd0
mov al, byte [esi + 0x48]
mov byte [ecx], al
inc dword [esi + 0x30]
shr dword [esi + 0x48], 8
add dword [esi + 0x44], 0xfffffff8
cmp dword [esi + 0x44], 8
jae 0x10009bc0
xor dword [esi + 0x3c], 0xffff
sub edx, 1
jne 0x10009ba3
cmp dword [esi + 0x3c], edx
jbe 0x10009c5c
nop
mov eax, dword [esi + 0x40]
mov ecx, dword [esi + 0x44]
add eax, edx
and eax, 0x7fff
movzx eax, byte [eax + esi + 0x90]
shl eax, cl
or dword [esi + 0x48], eax
lea eax, [ecx + 8]
mov dword [esi + 0x44], eax
cmp eax, 8
jb 0x10009c33
mov ecx, dword [esi + 0x30]
cmp ecx, dword [esi + 0x34]
jae 0x10009c25
mov al, byte [esi + 0x48]
mov byte [ecx], al
inc dword [esi + 0x30]
shr dword [esi + 0x48], 8
add dword [esi + 0x44], 0xfffffff8
cmp dword [esi + 0x44], 8
jae 0x10009c15
inc edx
cmp edx, dword [esi + 0x3c]
jb 0x10009bf0
jmp 0x10009c5c
mov eax, dword [ebp - 4]
test eax, eax
jne 0x10009c5c
mov eax, dword [ebp - 8]
mov ecx, esi
mov dword [esi + 0x30], edi
mov dword [esi + 0x48], ebx
mov dword [esi + 0x44], eax
call fcn.10009640
mov ecx, esi
call fcn.10009740
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x10009d99
cmp eax, 4
jne 0x10009cfb
cmp dword [esi + 0x44], 0
je 0x10009c9e
mov dword [esi + 0x44], 8
nop dword [eax]
mov ecx, dword [esi + 0x30]
cmp ecx, dword [esi + 0x34]
jae 0x10009c90
mov al, byte [esi + 0x48]
mov byte [ecx], al
inc dword [esi + 0x30]
shr dword [esi + 0x48], 8
add dword [esi + 0x44], 0xfffffff8
cmp dword [esi + 0x44], 8
jae 0x10009c80
test dword [esi + 8], 0x1000
je 0x10009d99
mov edx, dword [esi + 0x18]
mov edi, 4
mov ecx, dword [esi + 0x44]
mov eax, edx
shr eax, 0x18
shl eax, cl
or dword [esi + 0x48], eax
lea eax, [ecx + 8]
mov dword [esi + 0x44], eax
cmp eax, 8
jb 0x10009cee
nop dword [eax + eax]
mov ecx, dword [esi + 0x30]
cmp ecx, dword [esi + 0x34]
jae 0x10009ce0
mov al, byte [esi + 0x48]
mov byte [ecx], al
inc dword [esi + 0x30]
shr dword [esi + 0x48], 8
add dword [esi + 0x44], 0xfffffff8
cmp dword [esi + 0x44], 8
jae 0x10009cd0
shl edx, 8
sub edi, 1
jne 0x10009cb3
jmp 0x10009d99
add dword [esi + 0x44], 3
xor edi, edi
cmp dword [esi + 0x44], 8
jb 0x10009d25
mov ecx, dword [esi + 0x30]
cmp ecx, dword [esi + 0x34]
jae 0x10009d17
mov al, byte [esi + 0x48]
mov byte [ecx], al
inc dword [esi + 0x30]
shr dword [esi + 0x48], 8
add dword [esi + 0x44], 0xfffffff8
cmp dword [esi + 0x44], 8
jae 0x10009d07
cmp dword [esi + 0x44], edi
je 0x10009d4f
mov dword [esi + 0x44], 8
mov ecx, dword [esi + 0x30]
cmp ecx, dword [esi + 0x34]
jae 0x10009d41
mov al, byte [esi + 0x48]
mov byte [ecx], al
inc dword [esi + 0x30]
shr dword [esi + 0x48], 8
add dword [esi + 0x44], 0xfffffff8
cmp dword [esi + 0x44], 8
jae 0x10009d31
mov edx, 2
mov ecx, dword [esi + 0x44]
movzx eax, di
shl eax, cl
or dword [esi + 0x48], eax
lea eax, [ecx + 0x10]
mov dword [esi + 0x44], eax
cmp eax, 8
jb 0x10009d8e
nop word [eax + eax]
mov ecx, dword [esi + 0x30]
cmp ecx, dword [esi + 0x34]
jae 0x10009d80
mov al, byte [esi + 0x48]
mov byte [ecx], al
inc dword [esi + 0x30]
shr dword [esi + 0x48], 8
add dword [esi + 0x44], 0xfffffff8
cmp dword [esi + 0x44], 8
jae 0x10009d70
xor edi, 0xffff
sub edx, 1
jne 0x10009d54
push 0x280
lea eax, [esi + 0x8192]
push 0
push eax
call fcn.1002c460
mov ebx, dword [esi + 0x30]
lea eax, [esi + 0x9273]
inc dword [esi + 0x64]
add esp, 0xc
mov dword [esi + 0x28], eax
lea eax, [esi + 0x9272]
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 0x3c]
add dword [esi + 0x40], eax
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x38], 8
mov dword [esi + 0x3c], 0
sub ebx, eax
je 0x10009e6b
cmp dword [esi], 0
je 0x10009e20
mov eax, dword [esi + 0x78]
mov ecx, dword [esi + 0x84]
sub ecx, dword [esi + 0x70]
mov dword [eax], ecx
lea eax, [esi + 0x39272]
push dword [esi + 4]
push ebx
push eax
mov eax, dword [esi]
call eax
add esp, 0xc
test eax, eax
jne 0x10009e6b
pop edi
mov dword [esi + 0x6c], 0xffffffff
or eax, 0xffffffff
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [esi + 0x39272]
cmp eax, edx
jne 0x10009e65
mov eax, dword [esi + 0x7c]
mov ecx, dword [esi + 0x8c]
mov edi, dword [eax]
mov eax, dword [esi + 0x74]
sub edi, ecx
cmp ebx, edi
cmovb edi, ebx
add eax, ecx
push edi
push edx
push eax
call fcn.1002cae0
add dword [esi + 0x8c], edi
add esp, 0xc
sub ebx, edi
je 0x10009e6b
mov dword [esi + 0x58], edi
mov eax, ebx
pop edi
mov dword [esi + 0x5c], ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
add dword [esi + 0x8c], ebx
mov eax, dword [esi + 0x5c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret