Function at 0x10004ee0
Capabilities:
Resolve function by parsing pe exports
Terminate process

Disassembly:
sub esp, 0x2c
mov ecx, dword [esp + 0x3c]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x60]
lea ebx, [ecx - 0x2f82]
lea eax, [ecx + 0x18d]
mov dword [esp + 0xc], ebx
push edi
mov edi, dword [esp + 0x5c]
lea ebp, [ecx + 0x2b1]
mov dword [esp + 0x1c], eax
add edi, 0x2a4
add esi, 0x52d
mov dword [esp + 0x5c], edi
lea eax, [ebx + 0x2d89]
mov dword [esp + 0x38], ebp
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], esi
cmp ebp, eax
je 0x10005323
mov edi, ebx
lea eax, [edi + 0x2ff7]
cmp esi, eax
jle 0x100051b9
mov esi, dword [esp + 0x48]
mov ecx, dword [esi + 0x1e8]
mov eax, dword [esi + 0x78]
xor ecx, 0x2ffe
mov eax, dword [eax + ecx*8 + 0x78]
add eax, dword [esi + 0x48]
mov dword [esi + 0x180], eax
mov eax, dword [esi + 0x38]
mov ecx, dword [eax + 0x84]
mov eax, dword [esi + 0x1c4]
xor ecx, 0x19cc
add eax, 0x1d
cmp eax, ecx
jbe 0x10004f92
mov eax, dword [esi + 0x178]
lea ecx, [esi + 0x128]
mov dword [eax + 0x68], ecx
movzx ecx, byte [0x1001d574]
mov eax, dword [esi + 0xf0]
or ecx, 0x3233
imul eax, ecx
mov dword [esi + 0xf0], eax
mov ecx, dword [esi + 0x180]
cmp ecx, dword [esi + 0x48]
je 0x10005197
mov eax, dword [esi + 0x2c]
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push 4
imul eax, dword [eax + 0x1c4], 0x77751000
push eax
mov eax, dword [ecx + 4]
sub eax, dword [ecx]
push eax
push 0
call ebx
mov edi, eax
mov eax, dword [esi + 0x124]
mov dword [esi + 0x14c], eax
inc eax
mov dword [esi + 0x124], eax
test edi, edi
je 0x10005197
mov eax, dword [esi + 0x180]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
push eax
push ecx
push edi
call fcn.10007e3e
mov eax, dword [esi + 0x164]
add esp, 0xc
add eax, 0x3451
or dword [esi + 0x60], eax
mov eax, dword [esi + 0x184]
call eax
mov dword [esi + 0x198], eax
cmp eax, 0xffffffff
jne 0x10005048
mov eax, dword [esi + 0x2c]
mov eax, dword [eax + 0x1e8]
xor eax, 0x2ff6
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push edi
push eax
mov eax, dword [esi + 0x19c]
call eax
test eax, eax
jne 0x10005099
mov eax, dword [esi + 0x140]
xor eax, 0x2ff7
imul eax, dword [esi + 0x1a4]
cmp dword [esi + 0x1c4], 0x3524
mov dword [esi + 0x1a4], eax
je 0x10005084
or dword [esi + 0x174], 0x668a
mov eax, dword [esi + 0x38]
mov eax, dword [eax + 0x1c4]
xor eax, 0x31b0
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [esi + 0x1c4]
lea eax, [ecx - 0x31ad]
push eax
imul eax, ecx, 0x7eec6100
push 0x1000
push eax
push 0
call ebx
mov edx, eax
test edx, edx
je 0x1000517b
mov eax, dword [esi + 0x180]
mov eax, dword [eax + 8]
cmp dword [eax], 0xffffffff
jne 0x1000510e
mov ecx, dword [esi + 0x178]
mov eax, dword [esi + 0x44]
add eax, 0x3372
imul eax, dword [ecx + 0x90]
mov dword [ecx + 0x90], eax
mov eax, dword [esi + 0x38]
mov ecx, dword [esi + 0x160]
xor ecx, 0x2f82
mov dword [eax + 0xa4], ecx
mov eax, dword [esi + 0x2c]
mov eax, dword [eax + 0x1e8]
xor eax, 0x2ff7
jmp 0x10005147
mov eax, dword [esi + 0x2c]
imul eax, dword [eax + 0x1e8], 0xe41ac506
cmp eax, 0x34dd
jb 0x10005129
add dword [esi + 0xc], 0x5fd6
mov eax, dword [esi + 0x174]
xor dword [esi + 0xe0], eax
dec eax
mov dword [esi + 0x174], eax
mov eax, dword [esi + 0x180]
mov eax, dword [eax + 8]
mov eax, dword [eax]
mov dword [edx + eax*4], edi
mov eax, dword [esi + 0x108]
cmp dword [eax + 0x1e8], 0x2bd6
jne 0x10005174
mov ecx, dword [esi + 0x90]
mov eax, dword [esi + 0x7c]
imul eax, ecx
mov dword [esi + 0x7c], eax
lea eax, [ecx + 1]
mov dword [esi + 0x90], eax
mov dword fs:[0x2c], edx
mov eax, dword [esi + 0x1e8]
cmp eax, dword [esi + 0x174]
jae 0x10005197
mov eax, dword [esi + 0x68]
add eax, 0x310f
add dword [esi + 0x120], eax
mov eax, dword [esi + 0x90]
add eax, 0x2d9d
pop edi
mov dword [esi + 0x128], eax
mov eax, dword [esp + 0x14]
pop esi
pop ebp
add eax, 0xffffff04
pop ebx
add esp, 0x2c
ret
mov ecx, dword [esp + 0x48]
mov edx, ebx
mov dword [esp + 0x64], edx
imul eax, dword [ecx + 8], 0x310f
cmp ebx, eax
jb 0x10005358
cmp dword [ecx + 0x1e8], ebp
ja 0x100052f8
mov eax, dword [ecx + 0x128]
xor eax, dword [ecx + 0x70]
mov dword [esp + 0x34], eax
mov eax, dword [ecx + 0xac]
mov dword [esp + 0x4c], eax
mov ebx, dword [ecx + 0xc]
imul eax, eax, 0x2ff7
mov ebp, dword [ecx + 0x58]
mov edx, dword [ecx + 0x188]
and ebp, 0x102
xor edx, dword [ecx + 0x134]
or ebp, 0x34dd
mov dword [esp + 0x24], ebp
mov dword [esp + 0x30], eax
mov eax, dword [ecx + 0x10c]
imul eax, dword [ecx + 0xa0]
mov ebp, dword [esp + 0x4c]
imul eax, edi
mov edi, dword [ecx + 0xe8]
sub edi, dword [esp + 0x5c]
add edi, ebx
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x48]
mov dword [esp + 0x2c], eax
mov eax, ebx
xor ebx, dword [esp + 0x10]
and eax, esi
mov esi, dword [ecx + 0x108]
sub eax, 0x32ca
sub ebp, dword [edi + 0xd8]
xor ebx, 0x2ff7
mov ecx, dword [ecx + 0x178]
sub esi, 0xdcd
xor ecx, dword [esp + 0x5c]
and esi, 0x3451
mov edi, dword [esp + 0x20]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x48]
push ebx
push ebp
mov dword [esp + 0x54], ebp
mov eax, dword [eax + 0x140]
xor eax, dword [esp + 0x24]
mov ebp, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x68]
add eax, 0xffffcadc
push eax
push ecx
push edx
push esi
mov esi, dword [esp + 0x34]
mov eax, esi
xor eax, dword [esp + 0x30]
and eax, dword [esp + 0x2c]
push edi
push ebp
push dword [esp + 0x4c]
push dword [esp + 0x54]
push dword [esp + 0x5c]
push dword [esp + 0x64]
push eax
push dword [esp + 0x80]
call fcn.10002820
mov ecx, dword [esp + 0x84]
mov edi, eax
mov edx, dword [esp + 0xa0]
add esp, 0x3c
mov ebp, dword [esp + 0x38]
mov dword [esp + 0x14], edi
imul ecx, dword [ecx + 8], 0x310f
add edx, 4
mov dword [esp + 0x64], edx
cmp edx, ecx
mov ecx, dword [esp + 0x48]
jae 0x100051d2
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add eax, 0xffffff04
pop ebx
add esp, 0x2c
ret
mov esi, dword [esp + 0x48]
mov eax, dword [esi + 0xd8]
or eax, ebx
cmp ebx, eax
jbe 0x10005358
mov eax, dword [esi + 0x1e8]
and eax, edi
sub eax, ebp
cmp ebx, eax
jne 0x10005358
call dword [sym.imp.KERNEL32.dll_ActivateActCtx]
mov eax, dword [esi + 0x1e8]
add ebx, 2
and eax, edi
sub eax, ebp
cmp ebx, eax
je 0x10005341
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add eax, 0xffffff04
pop ebx
add esp, 0x2c
ret