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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
mov dword [esp + 0xc], 0
xor ecx, ecx
mov ebx, edx
cmp dword [eax + 0x2c], 0
push edi
mov edi, dword [esi + 8]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ecx
mov ecx, dword [eax + 0x28]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], edi
mov byte [eax], 1
mov dword [esp + 0x14], ecx
jle 0x1009ec56
mov eax, dword [ecx]
mov dword [esp + 0x1c], 0
test dword [eax + 4], 0x1000000
mov edx, dword [eax + 0x14]
mov dword [esp + 0x20], edx
je 0x1009e96c
mov eax, dword [eax + 0x2c]
mov ebx, dword [eax + 0x28]
mov eax, dword [ebp + 8]
cmp dword [eax + 0x24], 0
je 0x1009e951
mov eax, dword [ecx + 4]
test byte [eax + 4], 0x20
je 0x1009e951
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x1009e951
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x1009e940
inc dword [esi + 0x2c]
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x10], eax
push eax
push ecx
mov edx, 0x4e
mov ecx, edi
call fcn.100ebf20
add esp, 8
dec dword [esi + 0x38]
mov eax, dword [esi + 0x38]
push 0x10
push eax
push ebx
push esi
mov dword [esp + 0x2c], eax
call fcn.100cd820
mov edx, dword [esp + 0x30]
add esp, 0x10
test edx, edx
je 0x1009e9e1
mov ebx, dword [edx]
mov dword [esp + 0x18], ebx
cmp ebx, 1
jne 0x1009e99b
mov al, byte [esi + 0x13]
test al, al
jne 0x1009e98a
inc dword [esi + 0x2c]
mov ecx, dword [esi + 0x2c]
jmp 0x1009e9c4
dec al
mov byte [esi + 0x13], al
movzx eax, al
mov ecx, dword [esi + eax*4 + 0x94]
jmp 0x1009e9c4
mov ecx, dword [esi + 0x1c]
mov eax, dword [esi + 0x20]
mov dword [esp + 0xc], eax
cmp ebx, ecx
jg 0x1009e9b9
add eax, ebx
sub ecx, ebx
mov dword [esi + 0x1c], ecx
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x20], eax
jmp 0x1009e9c8
mov eax, dword [esi + 0x2c]
lea ecx, [eax + 1]
add eax, ebx
mov dword [esi + 0x2c], eax
mov dword [esp + 0xc], ecx
push 1
push 0
push ecx
mov ecx, esi
call fcn.100ce100
mov edx, dword [esp + 0x2c]
add esp, 0xc
mov eax, dword [esp + 0xc]
jmp 0x1009e9ef
xor eax, eax
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], eax
mov ebx, dword [esp + 0x14]
cmp dword [ebx + 0xc], 0
jl 0x1009ea25
test edx, edx
je 0x1009ea25
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jne 0x1009ea0f
dec dword [esi + 0x38]
mov ecx, dword [esi + 0x38]
mov dword [esp + 0x1c], ecx
push eax
push edx
mov edx, dword [ebp + 0xc]
push ecx
push dword [ebx + 0xc]
mov ecx, esi
call fcn.100a63e0
add esp, 0x10
mov dword [ebx + 0xc], eax
mov eax, dword [ebx + 4]
test byte [eax + 4], 0x20
je 0x1009eb34
mov ecx, dword [esp + 0x20]
xor eax, eax
xor ebx, ebx
mov dword [esp + 0x24], eax
add ecx, 8
mov dword [esp + 0x20], ecx
cmp ebx, dword [esp + 0x18]
jge 0x1009eaa6
mov edx, dword [ecx]
mov ecx, esi
call fcn.100d5880
mov ecx, dword [esp + 0x20]
inc ebx
add ecx, 0x14
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ecx
test eax, eax
je 0x1009ea45
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x1009ea86
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x24], eax
je 0x1009ea86
inc dword [esi + 0x2c]
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x10], eax
mov edx, dword [edi + 0x74]
cmp dword [edi + 0x78], edx
jg 0x1009eab1
push 0
push 0
push eax
mov edx, 0x53
mov ecx, edi
call fcn.100ec0c0
add esp, 0xc
mov edx, eax
jmp 0x1009eae8
test eax, eax
jne 0x1009ea68
mov eax, dword [esi]
mov ebx, dword [eax + 8]
jmp 0x1009ea6c
lea eax, [edx + 1]
mov dword [edi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x70]
mov edi, dword [esp + 0x10]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x34]
mov dword [eax + ecx*4], 0x53
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi]
cmp byte [ecx + 0x53], 0
je 0x1009eb00
push ebx
mov edx, 0xfffffffe
call fcn.100eb160
add esp, 4
jmp 0x1009eb34
test edx, edx
jns 0x1009eb08
mov edx, dword [edi + 0x74]
dec edx
mov eax, dword [edi + 0x70]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x1009eb29
push 0xfffffffffffffffe
push ebx
mov edx, eax
mov ecx, edi
call fcn.100eaf10
add esp, 8
jmp 0x1009eb34
test ebx, ebx
je 0x1009eb34
mov dword [eax + 0x10], ebx
mov byte [eax + 1], 0xfe
mov eax, dword [esp + 0x14]
mov ecx, dword [edi + 0x74]
mov ebx, dword [esp + 0xc]
mov edx, dword [eax + 8]
cmp dword [edi + 0x78], ecx
jg 0x1009eb5c
push edx
push ebx
push 0
mov edx, 0xa0
mov ecx, edi
call fcn.100ec0c0
add esp, 0xc
jmp 0x1009eb87
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4], 0xa0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi]
mov eax, dword [esp + 0x14]
cmp byte [ecx + 0x53], 0
mov edx, dword [eax + 4]
je 0x1009eba6
push edx
mov edx, 0xfffffff8
call fcn.100eb160
add esp, 4
jmp 0x1009ebb8
mov eax, dword [edi + 0x74]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x70]
mov byte [eax + ecx*4 - 0x13], 0xf8
mov dword [eax + ecx*4 - 4], edx
mov ecx, dword [edi + 0x74]
test ecx, ecx
jle 0x1009ebd1
mov eax, dword [esp + 0x18]
lea ecx, [ecx + ecx*4]
movzx edx, al
mov eax, dword [edi + 0x70]
mov word [eax + ecx*4 - 0x12], dx
mov eax, dword [esp + 0x18]
cmp eax, 1
jne 0x1009ebf4
test ebx, ebx
je 0x1009ebff
mov al, byte [esi + 0x13]
cmp al, 8
jae 0x1009ebff
movzx eax, al
mov dword [esi + eax*4 + 0x94], ebx
inc byte [esi + 0x13]
jmp 0x1009ebff
cmp eax, dword [esi + 0x1c]
jle 0x1009ebff
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], ebx
mov edx, dword [esp + 0x1c]
test edx, edx
je 0x1009ec2a
mov ecx, dword [edi + 0xc]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x1009ec21
push edx
mov edx, edi
call fcn.100eb740
add esp, 4
jmp 0x1009ec2a
mov ecx, dword [ecx + 0x40]
mov eax, dword [edi + 0x74]
mov dword [ecx + edx*4], eax
mov ebx, dword [esp + 0x2c]
mov eax, dword [ebp + 8]
inc ebx
mov ecx, dword [esp + 0x14]
add ecx, 0x14
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x14], ecx
cmp ebx, dword [eax + 0x2c]
jl 0x1009e8f4
mov edx, dword [esp + 0x10]
test edx, edx
jne 0x1009ec62
mov ebx, dword [esp + 0x30]
cmp dword [eax + 0x24], 0
je 0x1009ecba
mov edx, ebx
test ebx, ebx
je 0x1009ecba
mov ecx, dword [edi + 0x74]
mov dword [esp + 0x28], ecx
cmp dword [edi + 0x78], ecx
jg 0x1009ec88
push 0
push 0
push edx
mov edx, 0x12
mov ecx, edi
call fcn.100ec0c0
add esp, 0xc
mov dword [esp + 0x28], eax
jmp 0x1009ecb7
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4], 0x12
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebp + 8]
cmp dword [eax + 0x24], 0
mov ebx, dword [eax + 0x1c]
jle 0x1009ece7
add ebx, 4
xor edi, edi
push dword [ebx + 8]
mov edx, dword [ebx]
mov ecx, esi
call fcn.100ce3f0
mov eax, dword [ebp + 8]
lea ebx, [ebx + 0x14]
inc edi
add esp, 4
cmp edi, dword [eax + 0x24]
jl 0x1009ecc8
mov edi, dword [esp + 0x34]
mov ecx, dword [esp + 0x28]
mov byte [eax], 0
test ecx, ecx
je 0x1009ed2f
mov edx, dword [edi + 0x74]
lea eax, [edx - 1]
cmp ecx, eax
jne 0x1009ed06
mov dword [edi + 0x74], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test ecx, ecx
cmovs ecx, eax
mov eax, dword [edi]
cmp byte [eax + 0x53], 0
je 0x1009ed22
mov eax, 0x101442cc
mov dword [eax + 8], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x70]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret