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

Disassembly:
sub esp, 0x8ec
mov eax, dword [0x10057bf0]
xor eax, esp
mov dword [esp + 0x8e8], eax
mov eax, dword [esp + 0x8fc]
push ebx
mov ebx, dword [esp + 0x8fc]
push ebp
mov ebp, dword [esp + 0x8f8]
push esi
mov esi, dword [esp + 0x900]
push edi
mov dword [esp + 0x14], eax
lea eax, [esp + 0x34]
push eax
push 0
mov dword [esp + 0x38], ebp
call dword [0x1005c380]
mov edi, dword [esp + 0x914]
cmp edi, 5
ja case.default.0x1001ea39
jmp dword [edi*4 + 0x1001efb8]
push esi
push ebp
call fcn.10019ff0
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x1001ea59
mov eax, 0xfffffae2
jmp 0x1001ef9c
mov ebp, dword [eax + 4]
lea ecx, [esp + 0x10]
mov eax, dword [eax + 8]
mov dword [esp + 0x38], eax
push ecx
mov eax, dword [eax + 4]
push dword [eax + 8]
call dword [0x1005c384]
test edi, edi
je 0x1001ecfc
cmp edi, 4
je 0x1001ecfc
cmp edi, 5
je 0x1001ecfc
push dword [esp + 0x30]
call fcn.1001a1a0
mov dword [esp + 0x24], eax
test eax, eax
jne 0x1001eaa9
mov eax, 0xfffffbb0
jmp 0x1001ef9c
push 1
push eax
call fcn.10019960
mov ebx, eax
test ebx, ebx
je 0x1001ec32
xor eax, eax
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x20], 0
cmp dword [ebp + 0x18], 1
mov edi, dword [ebp + 0x40]
mov dword [esp + 0x28], 0
mov dword [esp + 0x18], eax
mov dword [esp + 0x2c], eax
je 0x1001ebed
test edi, edi
je 0x1001ebed
cmp dword [edi + 0x14], 0
je 0x1001ebcf
push 0x25c
call fcn.10015a30
mov esi, eax
test esi, esi
je 0x1001ec28
mov eax, dword [esp + 0x2c]
mov dword [esi + 4], eax
inc eax
mov ecx, dword [edi + 0x10]
mov dword [esi + 8], ecx
mov ecx, dword [edi + 0x14]
mov dword [esp + 0x2c], eax
mov dword [esi + 0xc], ecx
cmp ecx, 0x10
jne 0x1001eb40
movzx eax, byte [edi + 0x1a]
mov word [esi + 0x12], ax
movzx eax, byte [edi + 0x1b]
mov word [esi + 0x10], ax
jmp 0x1001eb46
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x10], eax
mov eax, ecx
cmp eax, 0xa
je 0x1001eb58
cmp eax, 0xc
je 0x1001eb58
movzx eax, word [edi + 0x18]
jmp 0x1001eb5e
movzx eax, word [edi + 0x18]
add eax, eax
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x14], eax
mov eax, dword [edi + 0xc]
cmp dword [ecx + 0x1c], 1
jne 0x1001eb71
and eax, 0xffffffdf
mov dword [esi + 0x18], eax
lea eax, [esp + 0x10]
push eax
mov eax, dword [ecx + 8]
mov eax, dword [eax + 4]
push dword [eax + 8]
call dword [0x1005c384]
push dword [esp + 0x10]
lea eax, [esi + 0x1c]
push 0x1a
push eax
lea eax, [edi + 0x1c]
push eax
call fcn.100150e0
push dword [esp + 0x10]
lea eax, [esi + 0x50]
push 0x105
push eax
lea eax, [ebp + 0x54]
push eax
call fcn.100150e0
cmp dword [ebx + 0x28], 0
jne 0x1001ebbc
mov dword [ebx + 0x28], esi
jmp 0x1001ebc2
mov eax, dword [esp + 0x28]
mov dword [eax], esi
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x18], eax
mov edi, dword [edi]
test edi, edi
jne 0x1001eaf3
test eax, eax
jle 0x1001ebed
mov dword [ebx + 0x20], eax
mov eax, dword [ebx + 0x28]
mov dword [ebx + 0x24], 2
mov dword [ebx + 0x2c], eax
call sub.KERNEL32.dll_GetCurrentProcessId
push eax
call fcn.1001a230
push 0x10055f08
push dword [ebx + 0xc]
lea ecx, [esp + 0x28]
mov eax, dword [eax + 0x50]
push ecx
push dword [esp + 0x3c]
mov eax, dword [eax + 0x24]
call eax
mov esi, eax
test esi, esi
je 0x1001ec3c
push ebx
push dword [esp + 0x28]
call fcn.10019f10
mov eax, esi
jmp 0x1001ef9c
push ebx
push dword [esp + 0x28]
call fcn.10019f10
mov eax, 0xfffffc0d
jmp 0x1001ef9c
mov ecx, dword [esp + 0x38]
mov edx, 0x38
mov eax, dword [esp + 0x20]
mov dword [ebx + 0x10], eax
mov eax, dword [ecx + 0xc]
mov dword [ebx + 0x14], eax
mov eax, dword [ecx + 0x10]
mov ecx, dword [esp + 0x910]
cmp ecx, edx
mov dword [ebx + 0x18], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x5c], eax
mov eax, ecx
push ecx
push dword [esp + 0x18]
cmova eax, edx
mov dword [esp + 0x68], 0
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x5c]
push edx
push eax
mov dword [esp + 0x74], 1
mov dword [esp + 0x78], 2
mov dword [esp + 0x7c], 3
mov dword [esp + 0x80], 4
mov dword [esp + 0x84], 5
mov dword [esp + 0x88], 6
mov dword [esp + 0x8c], 7
mov dword [esp + 0x90], 8
mov dword [esp + 0x94], 9
mov dword [esp + 0x98], 1
call fcn.10014520
jmp 0x1001ef9c
test ebx, ebx
je case.default.0x1001ea39
mov eax, dword [ebp + 8]
push dword [esp + 0x10]
test eax, eax
je 0x1001ed1b
lea ecx, [esp + 0x6b0]
push ecx
push ebx
push eax
jmp 0x1001ed2a
lea eax, [esp + 0x6b0]
push eax
mov eax, dword [ebp + 4]
push ebx
push dword [eax + 8]
call fcn.10010470
cmp eax, 0xfffffc16
jne 0x1001ed4d
push 1
push ebx
push 0xffffdffa
call fcn.100148f0
mov eax, 0xfffffc16
jmp 0x1001ef9c
lea eax, [esp + 0x6ac]
push eax
push ebp
call fcn.10019f70
mov esi, eax
test esi, esi
jne 0x1001ed6b
mov eax, 0xfffffa1d
jmp 0x1001ef9c
cmp dword [esi + 0x14], 0
je 0x1001ed61
test edi, edi
jne 0x1001ee20
mov eax, dword [esi + 0x10]
mov dword [esp + 0x40], eax
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x44], ecx
cmp ecx, 0x10
jne 0x1001eda4
movzx eax, byte [esi + 0x1a]
mov word [esp + 0x4a], ax
movzx eax, byte [esi + 0x1b]
mov word [esp + 0x48], ax
movzx eax, word [esi + 0x18]
jmp 0x1001eddc
cmp dword [esp + 0x34], 1
jne 0x1001edbf
lea eax, [esp + 0x48]
push eax
push dword [ebp + 8]
call dword [0x1005c374]
mov ecx, dword [esp + 0x44]
jmp 0x1001edc6
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x48], eax
cmp ecx, 0xa
je 0x1001edd6
cmp ecx, 0xc
je 0x1001edd6
movzx eax, word [esi + 0x18]
jmp 0x1001eddc
movzx eax, word [esi + 0x18]
add eax, eax
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x1c], 1
mov eax, dword [esi + 0xc]
jne 0x1001edf0
and eax, 0xffffffdf
mov ecx, dword [esp + 0x910]
mov edx, 0x18
mov dword [esp + 0x50], eax
cmp ecx, edx
push ecx
push dword [esp + 0x18]
mov eax, ecx
cmova eax, edx
mov dword [esp + 0x44], eax
lea eax, [esp + 0x44]
push edx
push eax
call fcn.10014520
jmp 0x1001ef9c
cmp edi, 4
jne 0x1001ef4c
mov eax, dword [esi + 0x10]
mov dword [esp + 0x90], eax
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x94], ecx
cmp ecx, 0x10
jne 0x1001ee60
movzx eax, byte [esi + 0x1a]
mov word [esp + 0x9a], ax
movzx eax, byte [esi + 0x1b]
mov word [esp + 0x98], ax
movzx eax, word [esi + 0x18]
jmp 0x1001eea1
cmp dword [esp + 0x34], 1
jne 0x1001ee81
lea eax, [esp + 0x98]
push eax
push dword [ebp + 8]
call dword [0x1005c374]
mov ecx, dword [esp + 0x94]
jmp 0x1001ee8b
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x98], eax
cmp ecx, 0xa
je 0x1001ee9b
cmp ecx, 0xc
je 0x1001ee9b
movzx eax, word [esi + 0x18]
jmp 0x1001eea1
movzx eax, word [esi + 0x18]
add eax, eax
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x1c], 1
mov eax, dword [esi + 0xc]
jne 0x1001eeb8
and eax, 0xffffffdf
push dword [esp + 0x10]
mov dword [esp + 0xa4], eax
lea eax, [esp + 0x6f0]
push 0x105
push eax
lea eax, [ebp + 0x54]
push eax
call fcn.100150e0
push 0xff
lea eax, [esp + 0x6f0]
push eax
lea eax, [esp + 0xac]
push eax
call fcn.1004516b
xor eax, eax
push 0xff
mov word [esp + 0x2b2], ax
lea eax, [esp + 0x2b4]
push ebx
push eax
call fcn.1004516b
mov ecx, dword [esp + 0x928]
add esp, 0x18
xor eax, eax
mov edx, 0x418
mov word [esp + 0x4a2], ax
cmp ecx, edx
mov eax, ecx
push ecx
push dword [esp + 0x18]
cmova eax, edx
mov dword [esp + 0x94], eax
lea eax, [esp + 0x94]
push edx
push eax
call fcn.10014520
jmp 0x1001ef9c
mov ecx, dword [esp + 0x910]
xor eax, eax
mov edx, 0x208
mov word [esp + 0x4ac], ax
push ecx
push dword [esp + 0x18]
cmp ecx, edx
mov dword [esp + 0x4b0], 0
mov eax, ecx
cmova eax, edx
mov dword [esp + 0x4ac], eax
lea eax, [esp + 0x4ac]
push edx
push eax
call fcn.10014520
jmp 0x1001ef9c
mov eax, 0xfffffc17
jmp 0x1001ef9c
mov eax, 0xfffffc15
mov ecx, dword [esp + 0x8f8]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1004486e
add esp, 0x8ec
ret 0x18