Function at 0x1001ea00
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.0x1001ea59
jmp dword [edi*4 + 0x1001efd8]
push esi
push ebp
call fcn.1001a010
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x1001ea79
mov eax, 0xfffffae2
jmp 0x1001efbc
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 0x1001ed1c
cmp edi, 4
je 0x1001ed1c
cmp edi, 5
je 0x1001ed1c
push dword [esp + 0x30]
call fcn.1001a1c0
mov dword [esp + 0x24], eax
test eax, eax
jne 0x1001eac9
mov eax, 0xfffffbb0
jmp 0x1001efbc
push 1
push eax
call fcn.10019980
mov ebx, eax
test ebx, ebx
je 0x1001ec52
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 0x1001ec0d
test edi, edi
je 0x1001ec0d
cmp dword [edi + 0x14], 0
je 0x1001ebef
push 0x25c
call fcn.10015a50
mov esi, eax
test esi, esi
je 0x1001ec48
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 0x1001eb60
movzx eax, byte [edi + 0x1a]
mov word [esi + 0x12], ax
movzx eax, byte [edi + 0x1b]
mov word [esi + 0x10], ax
jmp 0x1001eb66
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x10], eax
mov eax, ecx
cmp eax, 0xa
je 0x1001eb78
cmp eax, 0xc
je 0x1001eb78
movzx eax, word [edi + 0x18]
jmp 0x1001eb7e
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 0x1001eb91
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.10015100
push dword [esp + 0x10]
lea eax, [esi + 0x50]
push 0x105
push eax
lea eax, [ebp + 0x54]
push eax
call fcn.10015100
cmp dword [ebx + 0x28], 0
jne 0x1001ebdc
mov dword [ebx + 0x28], esi
jmp 0x1001ebe2
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 0x1001eb13
test eax, eax
jle 0x1001ec0d
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.1001a250
push 0x10055f10
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 0x1001ec5c
push ebx
push dword [esp + 0x28]
call fcn.10019f30
mov eax, esi
jmp 0x1001efbc
push ebx
push dword [esp + 0x28]
call fcn.10019f30
mov eax, 0xfffffc0d
jmp 0x1001efbc
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.10014540
jmp 0x1001efbc
test ebx, ebx
je case.default.0x1001ea59
mov eax, dword [ebp + 8]
push dword [esp + 0x10]
test eax, eax
je 0x1001ed3b
lea ecx, [esp + 0x6b0]
push ecx
push ebx
push eax
jmp 0x1001ed4a
lea eax, [esp + 0x6b0]
push eax
mov eax, dword [ebp + 4]
push ebx
push dword [eax + 8]
call fcn.10010490
cmp eax, 0xfffffc16
jne 0x1001ed6d
push 1
push ebx
push 0xffffdffa
call fcn.10014910
mov eax, 0xfffffc16
jmp 0x1001efbc
lea eax, [esp + 0x6ac]
push eax
push ebp
call fcn.10019f90
mov esi, eax
test esi, esi
jne 0x1001ed8b
mov eax, 0xfffffa1d
jmp 0x1001efbc
cmp dword [esi + 0x14], 0
je 0x1001ed81
test edi, edi
jne 0x1001ee40
mov eax, dword [esi + 0x10]
mov dword [esp + 0x40], eax
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x44], ecx
cmp ecx, 0x10
jne 0x1001edc4
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 0x1001edfc
cmp dword [esp + 0x34], 1
jne 0x1001eddf
lea eax, [esp + 0x48]
push eax
push dword [ebp + 8]
call dword [0x1005c374]
mov ecx, dword [esp + 0x44]
jmp 0x1001ede6
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x48], eax
cmp ecx, 0xa
je 0x1001edf6
cmp ecx, 0xc
je 0x1001edf6
movzx eax, word [esi + 0x18]
jmp 0x1001edfc
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 0x1001ee10
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.10014540
jmp 0x1001efbc
cmp edi, 4
jne 0x1001ef6c
mov eax, dword [esi + 0x10]
mov dword [esp + 0x90], eax
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x94], ecx
cmp ecx, 0x10
jne 0x1001ee80
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 0x1001eec1
cmp dword [esp + 0x34], 1
jne 0x1001eea1
lea eax, [esp + 0x98]
push eax
push dword [ebp + 8]
call dword [0x1005c374]
mov ecx, dword [esp + 0x94]
jmp 0x1001eeab
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x98], eax
cmp ecx, 0xa
je 0x1001eebb
cmp ecx, 0xc
je 0x1001eebb
movzx eax, word [esi + 0x18]
jmp 0x1001eec1
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 0x1001eed8
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.10015100
push 0xff
lea eax, [esp + 0x6f0]
push eax
lea eax, [esp + 0xac]
push eax
call fcn.1004521b
xor eax, eax
push 0xff
mov word [esp + 0x2b2], ax
lea eax, [esp + 0x2b4]
push ebx
push eax
call fcn.1004521b
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.10014540
jmp 0x1001efbc
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.10014540
jmp 0x1001efbc
mov eax, 0xfffffc17
jmp 0x1001efbc
mov eax, 0xfffffc15
mov ecx, dword [esp + 0x8f8]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1004491e
add esp, 0x8ec
ret 0x18