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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [esp + 0x1c], edx
mov ecx, dword [edx]
mov dword [esp + 0x14], edi
mov dword [esp + 0x24], ecx
mov esi, dword [edi + 8]
mov al, byte [ecx]
mov dword [esp + 0x34], esi
cmp al, 0x35
je 0x1009a77e
cmp al, 0x2d
je 0x1009a77e
cmp al, 0x32
jne 0x1009a1d4
mov ecx, dword [esi + 0x74]
mov edi, dword [ebp + 0x14]
cmp dword [esi + 0x78], ecx
jg 0x1009a1a0
push 0
push edi
push 0
mov edx, 0x4a
mov ecx, esi
call fcn.10033da0
add esp, 0xc
jmp 0x1009a509
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x4a
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x1009a50d
mov edx, dword [ebx + 0x4c]
xor ebx, ebx
mov edi, dword [ebp + 0xc]
mov dword [esp + 0x30], 5
mov dword [esp + 0x18], edx
test dword [edx + 0x2c], 0x400
mov dword [esp + 0x20], ebx
jne 0x1009a212
mov eax, dword [edx + 0x20]
test eax, eax
je 0x1009a212
mov eax, dword [eax + 0x1c]
cmp byte [edi + eax], bl
je 0x1009a212
xor ecx, ecx
cmp dword [ebp + 0x10], ecx
sete cl
mov dword [esp + 0x28], ecx
jmp 0x1009a219
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x28], eax
xor eax, eax
test edi, edi
jle 0x1009a242
mov edx, dword [edx + 0x38]
mov ecx, dword [edx + eax*4]
test ecx, ecx
je 0x1009a239
mov esi, dword [esp + 0x24]
cmp dword [ecx], esi
mov esi, dword [esp + 0x34]
je 0x1009a2ec
inc eax
cmp eax, edi
jl 0x1009a222
mov edx, dword [esp + 0x18]
movzx edi, word [edx + 0x30]
mov ecx, dword [ebp + 0xc]
cmp ecx, edi
jge 0x1009a27b
mov eax, dword [edx + 0x38]
sub edi, ecx
mov esi, dword [esp + 0x24]
lea edx, [eax + ecx*4]
nop dword [eax]
mov eax, dword [edx]
lea ecx, [ebx + 1]
lea edx, [edx + 4]
cmp dword [eax], esi
cmovne ecx, ebx
mov ebx, ecx
sub edi, 1
jne 0x1009a260
mov esi, dword [esp + 0x34]
mov ecx, dword [ebp + 0xc]
mov edx, dword [esp + 0x24]
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x2c], eax
test dword [edx + 4], 0x800
je 0x1009a37a
mov eax, dword [edx + 0x14]
mov eax, dword [eax + 0x1c]
cmp dword [eax], 1
je 0x1009a37a
mov eax, dword [esp + 0x14]
push edx
mov edx, ecx
mov ecx, dword [esp + 0x18]
mov edi, dword [eax]
mov eax, dword [esp + 0x1c]
push eax
mov dword [esp + 0x4c], edi
call fcn.10099f10
add esp, 8
mov dword [esp + 0x38], eax
cmp byte [edi + 0x57], 0
jne 0x1009a359
mov eax, dword [esp + 0x14]
lea edi, [ebx*4]
push 0
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x1009a302
call fcn.1000f5d0
jmp 0x1009a307
mov edx, dword [esp + 0x1c]
mov ecx, dword [ebp + 8]
call fcn.10099dc0
mov eax, dword [ebp + 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.1000ef10
add esp, 8
mov dword [esp + 0x20], eax
test eax, eax
je 0x1009a322
push edi
push 0
push eax
call fcn.100dd0a0
mov eax, dword [esp + 0x2c]
add esp, 0xc
mov edx, dword [esp + 0x38]
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x18]
push eax
push 0
push 4
call fcn.1004d8f0
mov ecx, dword [esp + 0x3c]
add esp, 0x10
mov edi, dword [esp + 0x44]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x10], ecx
mov eax, dword [eax]
mov dword [eax + 0x1c], ecx
mov eax, dword [esp + 0x38]
test eax, eax
je 0x1009a366
mov edx, eax
mov ecx, edi
call fcn.1004bdf0
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov eax, dword [eax]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x30]
jmp 0x1009a39d
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x2c]
push eax
push 0
push 0
push 4
call fcn.1004d8f0
mov edi, dword [esp + 0x3c]
add esp, 0x10
mov dword [esp + 0x30], eax
mov dword [esp + 0x10], edi
cmp eax, 4
jne 0x1009a3b1
xor eax, eax
cmp dword [esp + 0x28], eax
sete al
mov dword [esp + 0x28], eax
jmp 0x1009a3b5
mov eax, dword [esp + 0x28]
mov ecx, dword [esi + 0x74]
xor edx, edx
test eax, eax
sete dl
lea edx, [edx*4 + 0x22]
cmp dword [esi + 0x78], ecx
jg 0x1009a3dc
push 0
push 0
push edi
mov ecx, esi
call fcn.10033da0
add esp, 0xc
jmp 0x1009a406
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov byte [eax + ecx*4], dl
xor edx, edx
mov word [eax + ecx*4 + 2], dx
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], edx
mov byte [eax + ecx*4 + 1], dl
mov ecx, dword [esp + 0x18]
mov edi, dword [ebp + 8]
or dword [ecx + 0x2c], 0x800
cmp dword [edi + 0x44], 0
jne 0x1009a427
mov eax, dword [esp + 0x14]
dec dword [eax + 0x38]
mov eax, dword [eax + 0x38]
mov dword [edi + 0x10], eax
mov edx, dword [ebp + 0xc]
test edx, edx
jle 0x1009a440
mov eax, dword [ecx + 0x2c]
test eax, 0x100000
jne 0x1009a440
or eax, 0x40000
mov dword [ecx + 0x2c], eax
mov eax, dword [edi + 0x44]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x40], eax
add eax, ebx
mov dword [edi + 0x44], eax
mov dword [esp + 0x38], 0
mov ecx, dword [ecx]
lea edi, [eax + eax*4]
mov dword [esp + 0x44], ecx
mov eax, dword [ebp + 8]
shl edi, 2
mov ebx, dword [eax + 0x48]
test ebx, ebx
jne 0x1009a479
xor eax, eax
push eax
push edi
call fcn.1000f5d0
jmp 0x1009a4cc
cmp ebx, dword [ecx + 0x164]
jae 0x1009a4c1
cmp ebx, dword [ecx + 0x15c]
jb 0x1009a49b
cmp edi, 0x80
ja 0x1009a4c1
mov edi, ebx
mov dword [eax + 0x48], edi
jmp 0x1009a541
cmp ebx, dword [ecx + 0x160]
jb 0x1009a4c1
movzx eax, word [ecx + 0x136]
cdq
cmp dword [esp + 0x38], edx
ja 0x1009a4c1
jb 0x1009a4b7
cmp edi, eax
ja 0x1009a4c1
mov eax, dword [ebp + 8]
mov edi, ebx
mov dword [eax + 0x48], edi
jmp 0x1009a53e
xor eax, eax
mov edx, ebx
push eax
push edi
call fcn.1000f6c0
mov edi, eax
add esp, 8
test edi, edi
jne 0x1009a534
test ebx, ebx
je 0x1009a534
mov ecx, dword [esp + 0x44]
mov edx, ebx
call fcn.1000f1f0
mov ebx, dword [ebp + 8]
mov dword [ebx + 0x48], edi
mov dword [ebx + 0x44], 0
mov eax, dword [esp + 0x20]
test eax, eax
je 0x1009a506
mov edx, eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
call fcn.1000f1f0
mov edi, dword [ebp + 0x14]
mov edx, dword [esp + 0x1c]
mov ecx, dword [ebx + 0x4c]
test dword [ecx + 0x2c], 0x200000
je 0x1009a524
mov eax, 0x800
test word [edx + 0xc], ax
jne 0x1009a52b
mov ecx, ebx
call fcn.10099dc0
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp + 8]
mov dword [ebx + 0x48], edi
test edi, edi
je 0x1009a4ea
mov edx, dword [ebp + 0xc]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x18]
lea eax, [eax + eax*4]
lea eax, [eax + 4]
lea ebx, [edi + eax*4]
movzx eax, word [ecx + 0x30]
cmp edx, eax
jge 0x1009a710
mov edi, dword [ebp + 0x14]
lea eax, [edx*4]
mov dword [esp + 0x2c], eax
mov eax, edi
sub eax, edx
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x3c], eax
mov eax, edx
sub eax, edi
mov dword [esp + 0x44], eax
mov eax, dword [ecx + 0x38]
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + eax]
mov ecx, dword [esp + 0x24]
cmp dword [eax], ecx
jne 0x1009a6ec
cmp dword [esp + 0x30], 1
jne 0x1009a5ef
mov edx, dword [esi + 0x74]
cmp dword [esi + 0x78], edx
jg 0x1009a5c6
push 0
push edi
push dword [esp + 0x18]
mov edx, 0x86
mov ecx, esi
call fcn.10033da0
add esp, 0xc
mov edx, eax
jmp 0x1009a65f
lea eax, [edx + 1]
mov dword [esi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x70]
mov esi, dword [esp + 0x10]
mov dword [eax + ecx*4], 0x86
mov dword [eax + ecx*4 + 4], esi
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
jmp 0x1009a653
cmp dword [esp + 0x20], 0
je 0x1009a605
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx]
add ecx, 4
mov dword [esp + 0x3c], ecx
jmp 0x1009a607
xor eax, eax
mov edx, dword [esi + 0x74]
mov dword [esp + 0x40], eax
cmp dword [esi + 0x78], edx
jg 0x1009a62c
push edi
push eax
push dword [esp + 0x18]
mov edx, 0x5d
mov ecx, esi
call fcn.10033da0
add esp, 0xc
mov edx, eax
jmp 0x1009a65f
lea eax, [edx + 1]
mov dword [esi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x70]
mov esi, dword [esp + 0x10]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x40]
mov dword [eax + ecx*4], 0x5d
mov dword [eax + ecx*4 + 8], esi
mov dword [eax + ecx*4 + 0xc], edi
mov esi, dword [esp + 0x34]
mov dword [eax + ecx*4 + 0x10], 0
mov dword [ebx - 0xc], edx
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x1009a680
push 0
push 0
push edi
mov edx, 0x32
mov ecx, esi
call fcn.10033da0
add esp, 0xc
jmp 0x1009a6af
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x32
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x44]
mov edx, dword [ebp + 0xc]
add ecx, edi
cmp ecx, edx
jne 0x1009a6e6
cmp dword [esp + 0x28], 0
mov eax, dword [esp + 0x10]
mov dword [ebx - 0x10], eax
sete al
add al, 4
mov byte [ebx], al
test edx, edx
jle 0x1009a6df
mov eax, dword [esp + 0x38]
mov dword [ebx - 8], eax
mov dword [ebx - 4], ecx
jmp 0x1009a6e9
xor ecx, ecx
mov dword [ebx - 4], ecx
jmp 0x1009a6e9
mov byte [ebx], 0xb6
add ebx, 0x14
mov eax, dword [esp + 0x18]
inc edi
mov ecx, dword [esp + 0x44]
add dword [esp + 0x2c], 4
add ecx, edi
dec dword [esp + 0x38]
movzx eax, word [eax + 0x30]
cmp ecx, eax
mov ecx, dword [esp + 0x18]
jl 0x1009a584
mov ebx, dword [ebp + 8]
test edx, edx
jle 0x1009a4f1
test dword [ecx + 0x2c], 0x100400
jne 0x1009a4f1
mov ecx, dword [esi + 0x74]
mov edx, dword [ebx + 8]
mov edi, dword [ebp + 0xc]
cmp dword [esi + 0x78], ecx
jg 0x1009a74e
push edi
push 0
push edx
mov edx, 0x7c
mov ecx, esi
call fcn.10033da0
add esp, 0xc
jmp 0x1009a4f1
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x7c
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x1009a4f1
mov edx, dword [ecx + 0x10]
mov ecx, edi
push dword [ebp + 0x14]
call fcn.10050f70
add esp, 4
mov edi, eax
jmp 0x1009a509