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

Disassembly:
sub esp, 0x24
mov eax, dword [esp + 0x28]
push esi
push edi
mov edi, dword [esp + 0x3c]
mov esi, ecx
mov ecx, dword [eax]
mov dword [esp + 8], edx
mov dword [esp + 0x10], ecx
mov edx, dword [edi]
mov dword [eax], 0
mov dword [edi], 0
cmp dword [esi + 0x18], 0
mov dword [esp + 0x20], edx
je 0x100e9bdc
mov eax, dword [esi + 0x1c]
pop edi
pop esi
add esp, 0x24
ret 0x18
cmp dword [esi + 0xc], 0
lea eax, [esi + 0x20]
push ebx
push ebp
mov dword [eax], 2
je 0x100e9cc8
mov ebx, dword [esp + 0x48]
push eax
push dword [esp + 0x50]
lea eax, [esp + 0x4c]
mov dword [esp + 0x4c], edx
push ebx
push eax
push dword [esp + 0x50]
lea eax, [esp + 0x28]
mov dword [esp + 0x28], ecx
mov ecx, dword [esi + 0x78]
xor edx, edx
push eax
mov eax, dword [esi + 0x88]
call eax
mov edx, dword [esi + 0x20]
mov ebp, eax
mov ecx, dword [esp + 0x44]
mov dword [esi + 0x1c], ebp
mov dword [edi], ecx
mov eax, dword [esi + 0x14]
mov edi, dword [esp + 0x14]
add eax, edi
mov dword [esp + 0x40], ebp
mov dword [esp + 0x4c], edx
mov dword [esi + 0x14], eax
test ebp, ebp
jne 0x100e9c4d
test ebx, ebx
jne 0x100e9c4d
cmp edx, 1
jne 0x100e9c54
mov dword [esi + 0x18], 1
mov ecx, dword [esi + 8]
cmp ecx, 1
jne 0x100e9c6e
mov eax, dword [esp + 0x38]
mov dword [eax], edi
mov eax, ebp
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x24
ret 0x18
cmp dword [esi + 0x18], 0
je 0x100e9cbc
mov ebx, 1
cmp ecx, ebx
jbe 0x100e9cb6
mov ebp, dword [esp + 0x3c]
lea edi, [esi + 0x90]
mov edx, dword [esi + 0xc]
mov ecx, dword [edi]
push eax
mov eax, dword [edi + 0x14]
call eax
cmp dword [esp + 0x4c], 1
je 0x100e9ca6
test ebp, ebp
je 0x100e9ca9
mov ecx, dword [esp + 0x18]
cmp dword [esi + 0x14], ecx
jne 0x100e9ca9
mov eax, dword [esi + 0x14]
inc ebx
add edi, 0x18
cmp ebx, dword [esi + 8]
jb 0x100e9c87
mov ebp, dword [esp + 0x40]
mov ecx, dword [esp + 0x38]
mov dword [ecx], eax
mov eax, ebp
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x24
ret 0x18
cmp dword [esi + 8], 1
je 0x100e9d04
cmp dword [esi + 4], 0
jne 0x100e9cfa
mov eax, dword [esi]
mov edx, 0x60000
mov ecx, eax
mov eax, dword [eax]
call eax
mov dword [esi + 4], eax
test eax, eax
jne 0x100e9cf7
pop ebp
pop ebx
pop edi
mov eax, 2
pop esi
add esp, 0x24
ret 0x18
lea eax, [esi + 0x20]
mov dword [esp + 0x1c], 0
jmp 0x100e9d0c
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x40], ecx
mov edx, dword [esi + 8]
xor ebx, ebx
xor edi, edi
mov dword [esp + 0x4c], 0
mov dword [esp + 0x24], 1
mov dword [eax], 2
test edx, edx
je 0x100e9ead
nop dword [eax]
lea eax, [edi + 5]
lea eax, [eax + eax*2]
lea eax, [esi + eax*8]
mov dword [esp + 0x2c], eax
test edi, edi
jne 0x100e9d67
mov eax, dword [esp + 0x48]
mov ebp, ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x44]
sub ecx, dword [eax]
jmp 0x100e9d8a
mov eax, dword [esi + edi*4 + 0x2c]
lea ebp, [edi - 1]
mov ecx, dword [esi + edi*4 + 0x38]
shl ebp, 0x11
add ebp, eax
mov dword [esp + 0x3c], eax
add ebp, dword [esi + 4]
mov eax, dword [esi + edi*4 + 0x20]
sub ecx, dword [esp + 0x3c]
mov dword [esp + 0x20], eax
lea eax, [edx - 1]
mov dword [esp + 0x3c], ecx
cmp edi, eax
jne 0x100e9da5
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, dword [ecx]
jmp 0x100e9dc0
mov eax, dword [esi + edi*4 + 0x30]
cmp eax, dword [esi + edi*4 + 0x3c]
jne 0x100e9e87
mov edx, edi
mov eax, 0x20000
shl edx, 0x11
add edx, dword [esi + 4]
mov dword [esp + 0x14], eax
mov eax, dword [esi + edi*4 + 0x68]
test eax, eax
je 0x100e9ddf
mov ebp, dword [esp + 0x4c]
test ebx, ebx
jne 0x100e9e8b
mov ebx, eax
jmp 0x100e9e8b
lea eax, [esp + 0x30]
push eax
push dword [esp + 0x20]
lea eax, [esp + 0x44]
push dword [esp + 0x28]
push eax
push ebp
lea eax, [esp + 0x28]
push eax
mov eax, dword [esp + 0x44]
mov ecx, dword [eax]
mov eax, dword [eax + 0x10]
call eax
mov ecx, eax
test ecx, ecx
je 0x100e9e11
test ebx, ebx
mov dword [esi + edi*4 + 0x68], ecx
cmove ebx, ecx
mov eax, dword [esp + 0x30]
xor edx, edx
cmp eax, 1
sete dl
je 0x100e9e34
cmp dword [esi + 8], 1
mov dword [esp + 0x24], 0
jne 0x100e9e34
test ecx, ecx
jne 0x100e9e34
mov dword [esi + 0x20], eax
mov ecx, dword [esp + 0x3c]
test edi, edi
jne 0x100e9e48
mov eax, dword [esp + 0x44]
add dword [eax], ecx
add dword [esp + 0x40], ecx
jmp 0x100e9e4c
add dword [esi + edi*4 + 0x2c], ecx
mov eax, dword [esi + 8]
dec eax
cmp edi, eax
mov eax, dword [esp + 0x14]
jne 0x100e9e64
mov edx, dword [esp + 0x38]
add dword [edx], eax
add dword [esp + 0x10], eax
jmp 0x100e9e74
mov dword [esi + edi*4 + 0x3c], eax
mov dword [esi + edi*4 + 0x30], 0
mov dword [esi + edi*4 + 0x24], edx
test eax, eax
jne 0x100e9e7c
test ecx, ecx
je 0x100e9e87
mov ebp, 1
mov dword [esp + 0x4c], ebp
jmp 0x100e9e8b
mov ebp, dword [esp + 0x4c]
mov edx, dword [esi + 8]
inc edi
mov ecx, dword [esp + 0x40]
cmp edi, edx
jb 0x100e9d40
lea eax, [esi + 0x20]
test ebp, ebp
jne 0x100e9d14
cmp dword [esp + 0x24], 0
je 0x100e9eb4
mov dword [esi + 0x20], 1
pop ebp
mov eax, ebx
pop ebx
pop edi
pop esi
add esp, 0x24
ret 0x18