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

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x100e5db9
cmp dword [esi + 8], 0
je 0x100e5db9
push edi
mov edi, dword [ebp + 0xc]
push edi
push esi
call fcn.100e4fa0
add esp, 8
test eax, eax
jne 0x100e5c71
push ebx
push edi
push esi
call fcn.100e5300
movzx ecx, word [esi + 0x1e]
mov eax, 0x4b0
add esp, 8
cmp cx, ax
je 0x100e5beb
mov edx, 0x4b1
cmp cx, dx
je 0x100e5beb
mov eax, dword [esi + 0xc]
mov ecx, dword [esi]
add eax, 2
push eax
push ecx
call fcn.100e1a00
mov edx, dword [esi + 0xc]
add edx, edx
mov ebx, eax
mov eax, dword [esi]
push edx
push eax
call fcn.100e1a00
mov edi, dword [esi + 0xc]
mov ecx, dword [esi + 8]
mov dword [ebp + 8], eax
mov eax, dword [esi + 0x10]
sub edi, eax
push edi
add ecx, eax
push ecx
push ebx
call fcn.100d9670
mov eax, dword [ebp + 0xc]
mov word [edi + ebx], 0
movzx edx, word [esi + 0x1e]
mov edi, dword [ebp + 8]
push edx
push ebx
add eax, 0x10
push edi
push eax
call fcn.100dba30
push edi
mov dword [esi + 0x14], edi
call fcn.100db8a0
add esp, 0x30
mov dword [esi + 0x18], eax
mov ebx, 1
jmp 0x100e5c38
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 8]
add eax, edx
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0xc]
sub eax, edx
mov ebx, 1
add eax, ebx
shr eax, 1
mov edx, 0x4b1
mov dword [esi + 0x18], eax
cmp cx, dx
jne 0x100e5c38
xor ecx, ecx
test eax, eax
je 0x100e5c38
jmp 0x100e5c20
mov eax, dword [esi + 0x14]
mov dx, word [eax + ecx*2]
lea eax, [eax + ecx*2]
rol dx, 8
add ecx, ebx
mov word [eax], dx
cmp ecx, dword [esi + 0x18]
jb 0x100e5c20
mov eax, dword [esi]
push 0x400
push eax
call fcn.100e1a00
mov ecx, dword [esi]
push 0x28
push ecx
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], 0x200
mov dword [esi + 0x28], 0
call fcn.100e1a00
mov edi, eax
xor eax, eax
add esp, 0x10
cmp edi, eax
jne 0x100e5c75
mov eax, 7
pop ebx
pop edi
pop esi
pop ebp
ret
mov edx, 4
mov dword [edi + 4], eax
mov word [edi], dx
mov dword [edi + 8], 0xffffffff
mov dword [edi + 0x10], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], eax
mov dword [edi + 0x20], eax
mov eax, dword [esi + 0x14]
cmp word [eax], 0xa
je 0x100e5cbb
nop
add dword [edi + 0x18], ebx
mov eax, dword [edi + 0x18]
cmp eax, dword [esi + 0x18]
jae 0x100e5d52
mov edx, dword [esi + 0x14]
mov ecx, eax
cmp word [edx + ecx*2], 0xa
jne 0x100e5ca0
add dword [edi + 0x18], ebx
mov ebx, dword [ebp + 0xc]
push edi
push ebx
push esi
mov dword [edi + 0x1c], 2
call fcn.100e5990
mov eax, dword [esi + 0x3c]
add esp, 0xc
test eax, eax
jne 0x100e5c70
mov eax, dword [edi + 0x10]
push eax
call fcn.100fa280
add esp, 4
test eax, eax
je 0x100e5d5c
mov ebx, dword [esi + 0x50]
test ebx, ebx
je 0x100e5d39
movzx eax, word [ebx + 4]
cmp ax, word [esi + 0x7c]
jne 0x100e5d32
mov edx, dword [esi + 0x78]
mov ecx, eax
mov eax, dword [ebx]
add ecx, ecx
push ecx
push edx
push eax
call fcn.100d9820
add esp, 0xc
test eax, eax
jne 0x100e5d32
movzx ecx, word [ebx + 4]
mov edx, dword [ebx]
push ecx
push edx
push 1
push esi
call fcn.100f9250
push eax
mov eax, dword [ebp + 0xc]
push edi
push eax
push esi
call fcn.100e5b00
add esp, 0x20
mov ebx, dword [ebx + 0x10]
test ebx, ebx
jne 0x100e5cf1
mov ebx, dword [ebp + 0xc]
push ebx
push esi
call fcn.100e5a70
add esp, 8
test eax, eax
je 0x100e5d79
mov eax, dword [esi + 0x3c]
pop ebx
pop edi
pop esi
pop ebp
ret
pop ebx
pop edi
mov eax, 0x1001
pop esi
pop ebp
ret
cmp word [edi], 5
je 0x100e5d3c
push edi
push ebx
push esi
call fcn.100f98b0
add esp, 0xc
test eax, eax
je 0x100e5d4a
cmp word [edi], 5
jne 0x100e5d62
jmp 0x100e5d3c
xor edi, edi
push edi
push edi
push edi
push esi
call fcn.100f9250
mov ecx, dword [esi]
push 8
push ecx
mov dword [esi + 0x38], eax
call fcn.100e1a00
mov edx, dword [esi + 0x38]
mov dword [edx + 0xc], eax
mov eax, dword [esi + 0x38]
mov ecx, dword [eax + 0xc]
mov dword [ecx + 4], edi
mov eax, dword [esi + 0x38]
mov edx, dword [eax + 0xc]
add esp, 0x18
mov dword [eax + 0x10], edx
pop ebx
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
pop edi
xor eax, eax
pop esi
pop ebp
ret
mov eax, 0x100c
pop esi
pop ebp
ret