Function at 0x1004ea90
Capabilities:
Create thread
Get system information on windows
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x1017a796
mov eax, dword fs:[0]
push eax
sub esp, 0xec
mov eax, dword [0x101cf40c]
xor eax, esp
mov dword [esp + 0xe8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101cf40c]
xor eax, esp
push eax
lea eax, [esp + 0x100]
mov dword fs:[0], eax
mov eax, dword [esp + 0x130]
mov ebx, dword [esp + 0x114]
mov esi, dword [esp + 0x118]
mov dword [esp + 0x80], ebx
mov dword [esp + 0x78], eax
xor ebp, ebp
mov byte [eax], 0
mov edx, edx
mov edi, 1
mov dword [esp + 0x7c], edi
push edx
pop edx
push 0x10183570
push esi
call fcn.101181c0
add esp, 8
test eax, eax
je 0x1004eb29
push 0x10183880
push esi
call fcn.101181c0
add esp, 8
test eax, eax
jne 0x1004eb29
xor edi, edi
mov dword [esp + 0x7c], edi
mov edi, edi
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x108], 1
mov ch, ch
cmp edi, ebp
je 0x1004ee30
mov eax, dword [esp + 0x110]
cmp dword [eax + 0x32c4], ebp
je 0x1004eb61
mov edi, ebx
mov dword [esp + 0x74], ebx
jmp 0x1004eb7f
mov dword [esp + 0x20], ebp
mov al, al
lea ecx, [esp + 0x20]
push ecx
push ebx
call fcn.10067530
add esp, 8
mov dl, dl
mov edi, dword [esp + 0x20]
mov dword [esp + 0x74], edi
mov dl, dl
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov ch, ch
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov dh, dh
mov bl, 0x49
mov dl, 0x36
mov cl, 0x34
mov al, 0x78
mov byte [esp + 0x84], 0x25
mov byte [esp + 0x85], bl
mov byte [esp + 0x86], dl
mov byte [esp + 0x87], cl
mov byte [esp + 0x88], al
mov byte [esp + 0x89], 0x2d
mov byte [esp + 0x8a], 0x25
mov byte [esp + 0x8b], bl
mov byte [esp + 0x8c], dl
mov byte [esp + 0x8d], cl
mov byte [esp + 0x8e], al
mov byte [esp + 0x8f], 0
mov ecx, ecx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x8c]
push ecx
push esi
call fcn.10119fed
add esp, 0x10
mov dl, dl
push edi
call fcn.1006bb90
add esp, 4
push ebx
pop ebx
test al, al
mov esi, dword [esp + 0x30]
je 0x1004ec7d
cmp esi, 0x80000000
ja 0x1004f0b4
mov eax, dword [esp + 0x2c]
jb 0x1004ec41
cmp eax, ebp
jae 0x1004f0b4
mov edx, dword [esp + 0x28]
cmp esi, edx
ja 0x1004f0b4
mov ecx, dword [esp + 0x24]
jb 0x1004ec5b
cmp eax, ecx
ja 0x1004f0b4
cmp edx, 0x80000000
jb 0x1004ecd2
ja 0x1004ec69
cmp ecx, ebp
jb 0x1004ecd2
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0x28], SysReAllocStringLen
xchg ebx, eax
xchg ebx, eax
jmp 0x1004ecca
cmp esi, ebp
ja 0x1004f0b4
mov eax, dword [esp + 0x2c]
jb 0x1004ec96
cmp eax, 0x80000000
jae 0x1004f0b4
mov edx, dword [esp + 0x28]
cmp esi, edx
ja 0x1004f0b4
mov ecx, dword [esp + 0x24]
jb 0x1004ecb0
cmp eax, ecx
ja 0x1004f0b4
cmp edx, ebp
ja 0x1004ecbc
cmp ecx, 0x80000000
jb 0x1004ecd2
mov dword [esp + 0x24], SysReAllocStringLen
mov dword [esp + 0x28], ebp
push ecx
pop ecx
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x30]
mov ebp, eax
push edx
pop edx
cmp esi, dword [esp + 0x28]
ja 0x1004f017
jb 0x1004ecec
cmp ebp, dword [esp + 0x24]
jae 0x1004f017
mov ebx, dword [esp + 0x74]
push eax
pop eax
mov bl, bl
push 0
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x74]
push edx
lea eax, [esp + 0x80]
push eax
push esi
push ebp
push ebx
call fcn.1006c8a0
add esp, 0x24
test eax, eax
je 0x1004f017
push 0x3f
lea ecx, [esp + 0xc1]
push 0
push ecx
mov byte [esp + 0xc8], 0
call fcn.101184b0
add esp, 0xc
mov edx, edx
mov ecx, dword [esp + 0x6c]
add ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x70]
adc eax, dword [esp + 0x68]
add ecx, 0xffffffff
adc eax, 0xffffffff
mov ch, ch
mov edx, dword [esp + 0x28]
cmp eax, edx
jb 0x1004ed73
mov edi, dword [esp + 0x24]
ja 0x1004ed6d
cmp ecx, edi
jbe 0x1004ed73
mov ecx, edi
mov eax, edx
push edx
pop edx
push eax
push ecx
push esi
push ebp
lea edx, [esp + 0x94]
push edx
lea eax, [esp + 0xd0]
push eax
call fcn.10119290
add esp, 0x18
mov esi, esi
lea ecx, [esp + 0x63]
push ecx
lea edx, [esp + 0xc0]
push edx
lea ecx, [esp + 0xa4]
call fcn.1000a190
mov byte [esp + 0x108], 2
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x1c]
lea ecx, [esp + 0x63]
lea edx, [esp + 0x9c]
je 0x1004edd9
push ecx
push edx
push eax
call fcn.1004cdc0
add esp, 0xc
add dword [esp + 0x18], 0x18
jmp 0x1004ede9
push 1
push 1
push ecx
push edx
push eax
lea ecx, [esp + 0x28]
call fcn.1004e9d0
mov byte [esp + 0x108], 1
lea ecx, [esp + 0x9c]
call fcn.10006800
mov bh, bh
mov ebp, dword [esp + 0x6c]
add ebp, dword [esp + 0x64]
mov esi, dword [esp + 0x70]
adc esi, dword [esp + 0x68]
mov dl, dl
cmp esi, dword [esp + 0x28]
jb 0x1004ecf0
ja 0x1004f017
cmp ebp, dword [esp + 0x24]
jb 0x1004ecf0
jmp 0x1004f017
mov edi, esi
push edx
pop edx
mov dl, dl
jmp 0x1004ee42
xor ebp, ebp
xor eax, eax
mov byte [esp + 0x9c], 0
mov dword [esp + 0x9d], eax
mov dword [esp + 0xa1], eax
mov dword [esp + 0xa5], eax
mov dword [esp + 0xa9], eax
mov dword [esp + 0xad], eax
mov dword [esp + 0xb1], eax
mov dword [esp + 0xb5], eax
mov word [esp + 0xb9], ax
mov byte [esp + 0xbb], al
push ecx
pop ecx
push 0x10183570
push edi
call fcn.101181c0
add esp, 8
mov ebx, eax
mov ecx, ecx
cmp ebx, ebp
je 0x1004eebc
sub eax, edi
push eax
lea ecx, [esp + 0xa0]
push edi
push ecx
call fcn.1011a570
add esp, 0xc
mov ebp, ebp
jmp 0x1004eed5
lea edx, [esp + 0x9c]
mov eax, edi
sub edx, edi
mov cl, byte [eax]
mov byte [eax + edx], cl
add eax, 1
test cl, cl
jne 0x1004eec7
mov edx, edx
lea edi, [ebx + 1]
mov dh, dh
lea edx, [esp + 0x84]
mov eax, edx
mov dword [esp + 0x94], edx
mov dword [esp + 0x98], eax
mov byte [esp + 0x108], 3
lea eax, [esp + 0x9c]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1004ef03
sub eax, edx
lea ebp, [esp + eax + 0x9c]
mov esi, ebp
lea ecx, [esp + 0x9c]
sub esi, ecx
lea eax, [esi + 1]
cmp eax, 0xffffffff
mov dword [esp + 0x74], eax
ja 0x1004f443
test eax, eax
jbe 0x1004f443
cmp eax, 0x10
jbe 0x1004ef6d
lea edx, [esp + 0x74]
push edx
push eax
lea ecx, [esp + 0xa0]
call fcn.10009680
mov dword [esp + 0x98], eax
mov ecx, dword [esp + 0x74]
lea edx, [eax + ecx]
mov dword [esp + 0x94], eax
mov dword [esp + 0x84], edx
jmp 0x1004ef74
mov eax, dword [esp + 0x98]
lea ecx, [esp + 0x9c]
cmp ebp, ecx
je 0x1004ef8e
push esi
mov edx, ecx
push edx
push eax
call fcn.10119900
add esp, 0xc
add eax, esi
mov dword [esp + 0x94], eax
mov byte [eax], 0
mov byte [esp + 0x108], 4
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x1c]
je 0x1004efdc
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], eax
mov byte [esp + 0x108], 5
test eax, eax
je 0x1004efcd
lea ecx, [esp + 0x84]
push ecx
mov ecx, eax
call fcn.1000a210
mov byte [esp + 0x108], 4
add dword [esp + 0x18], 0x18
jmp 0x1004eff7
push 1
push 1
lea edx, [esp + 0x6b]
push edx
lea ecx, [esp + 0x90]
push ecx
push eax
lea ecx, [esp + 0x28]
call fcn.1004e9d0
mov byte [esp + 0x108], 1
lea ecx, [esp + 0x84]
call fcn.10006800
mov cl, cl
test ebx, ebx
jne 0x1004ee40
mov eax, eax
mov ah, ah
lea edx, [esp + 0x3c]
push edx
call dword [sym.imp.KERNEL32.DLL_GetSystemInfo]
mov ecx, ecx
mov ecx, dword [esp + 0x18]
sub ecx, dword [esp + 0x14]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov ebp, edx
shr ebp, 0x1f
add ebp, edx
mov dword [esp + 0x2c], ebp
mov dl, dl
xchg ebx, eax
xchg ebx, eax
mov ebx, dword [esp + 0x50]
cmp ebp, ebx
jae 0x1004f059
mov ebx, ebp
mov dword [esp + 0x20], ebp
mov edx, edx
jmp 0x1004f05f
mov dword [esp + 0x20], ebx
push ecx
pop ecx
cmp ebx, 0x40
jl 0x1004f06f
mov ebx, 0x40
mov dword [esp + 0x20], ebx
xchg ebx, eax
xchg ebx, eax
lea edi, [ebx*4]
push edi
call fcn.1011741c
add esp, 4
mov dword [esp + 0x34], eax
mov bl, bl
test eax, eax
je 0x1004f0b4
lea esi, [ebx + ebx*4]
add esi, esi
add esi, esi
add esi, esi
push esi
call fcn.1011741c
add esp, 4
mov dword [esp + 0x38], eax
mov bl, bl
test eax, eax
jne 0x1004f0f2
mov eax, dword [esp + 0x34]
push eax
call fcn.101174df
add esp, 4
push ebx
pop ebx
mov dword [esp + 0x108], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.1004e6d0
xor eax, eax
mov ecx, dword [esp + 0x100]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xe8]
xor ecx, esp
call fcn.101179ba
add esp, 0xf8
ret
mov ecx, dword [esp + 0x34]
push edi
push 0
push ecx
call fcn.101184b0
add esp, 0xc
mov eax, eax
mov edx, dword [esp + 0x38]
push esi
push 0
push edx
call fcn.101184b0
add esp, 0xc
push edx
pop edx
xor edi, edi
mov ebx, ebx
mov eax, ebp
xor edx, edx
div ebx
mov dword [esp + 0x6c], eax
mov esi, esi
mov eax, dword [esp + 0x134]
xor edx, edx
div ebx
mov dword [esp + 0x64], eax
push ecx
pop ecx
mov dl, dl
xor ebp, ebp
test ebx, ebx
jle 0x1004f2df
mov eax, dword [esp + 0x78]
mov esi, dword [esp + 0x38]
mov dword [esp + 0x74], eax
add esi, 0xc
mov esi, esi
mov ecx, dword [esp + 0x6c]
lea ebx, [edi + ecx - 1]
mov ecx, ecx
mov eax, dword [esp + 0x20]
add eax, 0xffffffff
cmp ebp, eax
jne 0x1004f172
mov ebx, dword [esp + 0x2c]
add ebx, 0xffffffff
mov ah, ah
mov edx, dword [esp + 0x7c]
mov eax, ebx
push edx
sub eax, edi
add eax, 1
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, edi
lea edx, [esp + 0x90]
call fcn.1004d690
add esp, 0xc
mov byte [esp + 0x108], 6
mov ah, ah
mov edx, dword [esp + 0x110]
lea edi, [esi - 0xc]
mov dword [edi], edx
push edx
pop edx
mov eax, dword [esp + 0x80]
mov dword [esi - 8], eax
mov ecx, ecx
mov ecx, dword [esp + 0x11c]
mov dword [esi], ecx
push ecx
pop ecx
mov edx, dword [esp + 0x120]
mov dword [esi + 4], edx
mov esi, esi
mov eax, dword [esp + 0x124]
mov dword [esi + 8], eax
mov edi, edi
mov ecx, dword [esp + 0x128]
mov dword [esi + 0xc], ecx
push edx
pop edx
mov edx, dword [esp + 0x12c]
mov dword [esi + 0x10], edx
mov ch, ch
mov eax, dword [esp + 0x74]
mov dword [esi + 0x14], eax
mov esi, esi
mov ecx, dword [esp + 0x64]
mov dword [esi + 0x18], ecx
mov bh, bh
mov edx, dword [esp + 0x94]
sub edx, dword [esp + 0x98]
add edx, 1
push edx
call fcn.1011741c
add esp, 4
mov dword [esi - 4], eax
mov ch, ch
mov eax, dword [esi - 4]
test eax, eax
je 0x1004f2bd
mov edx, dword [esp + 0x98]
mov cl, byte [edx]
mov byte [eax], cl
add edx, 1
add eax, 1
test cl, cl
jne 0x1004f237
mov al, al
call fcn.1003e860
mov dword [esp + 0x24], eax
mov ebx, ebx
mov ebx, ebx
push 0
push 0
push edi
push 0x1004aa30
push 0
push 0
call fcn.10119ed7
add esp, 0x18
mov edx, edx
mov edi, dword [esp + 0x34]
mov dword [edi + ebp*4], eax
mov ecx, ecx
mov eax, dword [esp + 0x24]
push eax
call fcn.1003e920
add esp, 4
mov ebp, ebp
cmp dword [edi + ebp*4], 0
je 0x1004f2c3
lea edi, [ebx + 1]
mov ecx, ecx
mov byte [esp + 0x108], 1
lea ecx, [esp + 0x84]
call fcn.10006800
mov ecx, dword [esp + 0x64]
add dword [esp + 0x74], ecx
add ebp, 1
add esi, 0x28
cmp ebp, dword [esp + 0x20]
jl 0x1004f152
jmp 0x1004f2db
xor ebp, ebp
mov edi, edi
jmp 0x1004f2c7
xor ebp, ebp
mov ah, ah
mov byte [esp + 0x108], 1
lea ecx, [esp + 0x84]
call fcn.10006800
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x78]
xor edi, edi
xchg ebx, eax
xchg ebx, eax
cmp ebp, ebx
jne 0x1004f3ac
mov edx, dword [esp + 0x34]
push 0xffffffffffffffff
push 1
push edx
push ebx
call dword [sym.imp.KERNEL32.DLL_WaitForMultipleObjects]
push ebx
pop ebx
cmp eax, 0xffffffff
je 0x1004f3ac
xor ebp, ebp
push eax
pop eax
test ebx, ebx
jle 0x1004f3a5
mov ecx, dword [esp + 0x38]
lea eax, [edi + edi*4]
mov edx, dword [ecx + eax*8 + 0x20]
cmp byte [edx], 0
lea eax, [ecx + eax*8 + 0x20]
je 0x1004f391
test edi, edi
jle 0x1004f375
cmp byte [esi], 0
je 0x1004f33e
mov byte [esi + ebp], 0x7c
mov ch, ch
add ebp, 1
mov ecx, ecx
mov edx, dword [eax]
mov eax, dword [esp + 0x78]
add eax, ebp
mov esi, eax
mov cl, byte [edx]
mov byte [esi], cl
add edx, 1
add esi, 1
test cl, cl
jne 0x1004f348
mov ch, ch
lea edx, [eax + 1]
jmp 0x1004f360
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1004f360
sub eax, edx
add ebp, eax
mov ebp, ebp
mov esi, dword [esp + 0x78]
jmp 0x1004f39a
mov eax, esi
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1004f380
sub eax, edx
mov ebp, eax
mov ah, ah
jmp 0x1004f39a
test edi, edi
jne 0x1004f39a
mov byte [esi], 0
mov bh, bh
add edi, 1
cmp edi, ebx
jl 0x1004f316
mov edi, 1
mov cl, cl
mov ebp, dword [esp + 0x34]
xor esi, esi
test ebx, ebx
jle 0x1004f3e9
mov eax, dword [ebp + esi*4]
test eax, eax
je 0x1004f3e2
push eax
call fcn.100648e0
add esp, 4
push eax
pop eax
mov ecx, dword [ebp + esi*4]
push ecx
call fcn.100c4d20
add esp, 4
mov ch, ch
mov dword [ebp + esi*4], 0
mov cl, cl
add esi, 1
cmp esi, ebx
jl 0x1004f3b6
push ebp
call fcn.101174df
add esp, 4
nop
test ebx, ebx
jle 0x1004f419
mov esi, dword [esp + 0x38]
add esi, 8
mov edi, edi
mov eax, dword [esi]
test eax, eax
je 0x1004f411
push eax
call fcn.101174df
add esp, 4
mov al, al
add esi, 0x28
sub ebx, 1
jne 0x1004f400
mov edx, dword [esp + 0x38]
push edx
call fcn.101174df
add esp, 4
mov ch, ch
mov dword [esp + 0x108], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.1004e6d0
mov eax, edi
jmp 0x1004f0ca
push 0x10183558
call fcn.101062c0