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

Disassembly:
push 0xffffffffffffffff
push 0x10179b46
mov eax, dword fs:[0]
push eax
sub esp, 0xec
mov eax, dword [0x101ce2f4]
xor eax, esp
mov dword [esp + 0xe8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101ce2f4]
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 ebx, ebx
mov edi, 1
mov dword [esp + 0x7c], edi
push ebx
pop ebx
push 0x10182548
push esi
call fcn.10117980
add esp, 8
test eax, eax
je 0x10051339
push 0x10182800
push esi
call fcn.10117980
add esp, 8
test eax, eax
jne 0x10051339
xor edi, edi
mov dword [esp + 0x7c], edi
mov dl, dl
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x108], 1
mov esi, esi
cmp edi, ebp
je 0x10051643
mov eax, dword [esp + 0x110]
cmp dword [eax + 0x32bc], ebp
je 0x10051371
mov edi, ebx
mov dword [esp + 0x74], ebx
jmp 0x1005138f
mov dword [esp + 0x20], ebp
test bh, bh
lea ecx, [esp + 0x20]
push ecx
push ebx
call fcn.10069c20
add esp, 8
test ah, ah
mov edi, dword [esp + 0x20]
mov dword [esp + 0x74], edi
mov ebx, ebx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov esi, esi
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov ah, ah
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
test edi, edi
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x8c]
push ecx
push esi
call fcn.10119a25
add esp, 0x10
test eax, eax
push edi
call fcn.1006e0b0
add esp, 4
mov edx, edx
test al, al
mov esi, dword [esp + 0x30]
je 0x1005148c
cmp esi, 0x80000000
ja 0x100518c4
mov eax, dword [esp + 0x2c]
jb 0x10051451
cmp eax, ebp
jae 0x100518c4
mov edx, dword [esp + 0x28]
cmp esi, edx
ja 0x100518c4
mov ecx, dword [esp + 0x24]
jb 0x1005146b
cmp eax, ecx
ja 0x100518c4
cmp edx, 0x80000000
jb 0x100514e1
ja 0x10051479
cmp ecx, ebp
jb 0x100514e1
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0x28], SysReAllocStringLen
nop
jmp 0x100514d9
cmp esi, ebp
ja 0x100518c4
mov eax, dword [esp + 0x2c]
jb 0x100514a5
cmp eax, 0x80000000
jae 0x100518c4
mov edx, dword [esp + 0x28]
cmp esi, edx
ja 0x100518c4
mov ecx, dword [esp + 0x24]
jb 0x100514bf
cmp eax, ecx
ja 0x100518c4
cmp edx, ebp
ja 0x100514cb
cmp ecx, 0x80000000
jb 0x100514e1
mov dword [esp + 0x24], SysReAllocStringLen
mov dword [esp + 0x28], ebp
mov esi, esi
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x30]
mov ebp, eax
mov bl, bl
cmp esi, dword [esp + 0x28]
ja 0x10051827
jb 0x100514fb
cmp ebp, dword [esp + 0x24]
jae 0x10051827
mov ebx, dword [esp + 0x74]
nop
test edi, edi
test al, al
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.1006eda0
add esp, 0x24
test eax, eax
je 0x10051827
push 0x3f
lea ecx, [esp + 0xc1]
push 0
push ecx
mov byte [esp + 0xc8], 0
call fcn.101182b0
add esp, 0xc
mov dh, dh
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 eax, eax
mov edx, dword [esp + 0x28]
cmp eax, edx
jb 0x10051583
mov edi, dword [esp + 0x24]
ja 0x1005157d
cmp ecx, edi
jbe 0x10051583
mov ecx, edi
mov eax, edx
mov edx, edx
push eax
push ecx
push esi
push ebp
lea edx, [esp + 0x94]
push edx
lea eax, [esp + 0xd0]
push eax
call fcn.10119209
add esp, 0x18
mov eax, eax
lea ecx, [esp + 0x63]
push ecx
lea edx, [esp + 0xc0]
push edx
lea ecx, [esp + 0xa4]
call fcn.100085d0
mov byte [esp + 0x108], 2
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x1c]
lea ecx, [esp + 0x63]
lea edx, [esp + 0x9c]
je 0x100515e9
push ecx
push edx
push eax
call fcn.1004f5a0
add esp, 0xc
add dword [esp + 0x18], 0x18
jmp 0x100515f9
push 1
push 1
push ecx
push edx
push eax
lea ecx, [esp + 0x28]
call fcn.100511e0
mov byte [esp + 0x108], 1
lea ecx, [esp + 0x9c]
call fcn.10006e20
test eax, 0x32f3
mov ebp, dword [esp + 0x6c]
add ebp, dword [esp + 0x64]
mov esi, dword [esp + 0x70]
adc esi, dword [esp + 0x68]
test dh, dh
cmp esi, dword [esp + 0x28]
jb 0x10051500
ja 0x10051827
cmp ebp, dword [esp + 0x24]
jb 0x10051500
jmp 0x10051827
mov edi, esi
mov bl, bl
test bl, bl
jmp 0x10051652
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
test bl, bl
push 0x10182548
push edi
call fcn.10117980
add esp, 8
mov ebx, eax
test bl, bl
cmp ebx, ebp
je 0x100516cc
sub eax, edi
push eax
lea ecx, [esp + 0xa0]
push edi
push ecx
call fcn.1011a030
add esp, 0xc
test edx, edx
jmp 0x100516e5
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 0x100516d7
push ebx
pop ebx
lea edi, [ebx + 1]
test bh, bh
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 0x10051713
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 0x10051c53
test eax, eax
jbe 0x10051c53
cmp eax, 0x10
jbe 0x1005177d
lea edx, [esp + 0x74]
push edx
push eax
lea ecx, [esp + 0xa0]
call fcn.10003580
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 0x10051784
mov eax, dword [esp + 0x98]
lea ecx, [esp + 0x9c]
cmp ebp, ecx
je 0x1005179e
push esi
mov edx, ecx
push edx
push eax
call fcn.10117f40
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 0x100517ec
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], eax
mov byte [esp + 0x108], 5
test eax, eax
je 0x100517dd
lea ecx, [esp + 0x84]
push ecx
mov ecx, eax
call fcn.1000cf30
mov byte [esp + 0x108], 4
add dword [esp + 0x18], 0x18
jmp 0x10051807
push 1
push 1
lea edx, [esp + 0x6b]
push edx
lea ecx, [esp + 0x90]
push ecx
push eax
lea ecx, [esp + 0x28]
call fcn.100511e0
mov byte [esp + 0x108], 1
lea ecx, [esp + 0x84]
call fcn.10006e20
test edi, edi
test ebx, ebx
jne 0x10051650
mov ch, ch
push ebx
pop ebx
lea edx, [esp + 0x3c]
push edx
call dword [sym.imp.KERNEL32.DLL_GetSystemInfo]
test dl, dl
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
test ebx, ebx
mov ecx, ecx
mov ebx, dword [esp + 0x50]
cmp ebp, ebx
jae 0x10051869
mov ebx, ebp
mov dword [esp + 0x20], ebp
mov bl, bl
jmp 0x1005186f
mov dword [esp + 0x20], ebx
test edi, edi
cmp ebx, 0x40
jl 0x1005187f
mov ebx, 0x40
mov dword [esp + 0x20], ebx
mov dh, dh
lea edi, [ebx*4]
push edi
call fcn.10116bdc
add esp, 4
mov dword [esp + 0x34], eax
test ah, ah
test eax, eax
je 0x100518c4
lea esi, [ebx + ebx*4]
add esi, esi
add esi, esi
add esi, esi
push esi
call fcn.10116bdc
add esp, 4
mov dword [esp + 0x38], eax
mov ch, ch
test eax, eax
jne 0x10051902
mov eax, dword [esp + 0x34]
push eax
call fcn.10116c9f
add esp, 4
test cl, cl
mov dword [esp + 0x108], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.10050ee0
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.1011717a
add esp, 0xf8
ret
mov ecx, dword [esp + 0x34]
push edi
push 0
push ecx
call fcn.101182b0
add esp, 0xc
mov edi, edi
mov edx, dword [esp + 0x38]
push esi
push 0
push edx
call fcn.101182b0
add esp, 0xc
test eax, eax
xor edi, edi
test ebx, ebx
mov eax, ebp
xor edx, edx
div ebx
mov dword [esp + 0x6c], eax
test eax, 0x6c92
mov eax, dword [esp + 0x134]
xor edx, edx
div ebx
mov dword [esp + 0x64], eax
test ah, ah
mov edx, edx
xor ebp, ebp
test ebx, ebx
jle 0x10051af8
mov eax, dword [esp + 0x78]
mov esi, dword [esp + 0x38]
mov dword [esp + 0x74], eax
add esi, 0xc
test eax, eax
mov ecx, dword [esp + 0x6c]
lea ebx, [edi + ecx - 1]
push edx
pop edx
mov eax, dword [esp + 0x20]
add eax, 0xffffffff
cmp ebp, eax
jne 0x10051985
mov ebx, dword [esp + 0x2c]
add ebx, 0xffffffff
test 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.1004fe80
add esp, 0xc
mov byte [esp + 0x108], 6
mov esi, esi
mov edx, dword [esp + 0x110]
lea edi, [esi - 0xc]
mov dword [edi], edx
test ah, ah
mov eax, dword [esp + 0x80]
mov dword [esi - 8], eax
test eax, eax
mov ecx, dword [esp + 0x11c]
mov dword [esi], ecx
mov ebp, ebp
mov edx, dword [esp + 0x120]
mov dword [esi + 4], edx
mov esi, esi
mov eax, dword [esp + 0x124]
mov dword [esi + 8], eax
nop
mov ecx, dword [esp + 0x128]
mov dword [esi + 0xc], ecx
test dl, dl
mov edx, dword [esp + 0x12c]
mov dword [esi + 0x10], edx
mov ch, ch
mov eax, dword [esp + 0x74]
mov dword [esi + 0x14], eax
test dl, dl
mov ecx, dword [esp + 0x64]
mov dword [esi + 0x18], ecx
test al, al
mov edx, dword [esp + 0x94]
sub edx, dword [esp + 0x98]
add edx, 1
push edx
call fcn.10116bdc
add esp, 4
mov dword [esi - 4], eax
test eax, 0x2824
mov eax, dword [esi - 4]
test eax, eax
je 0x10051ad6
mov edx, dword [esp + 0x98]
lea esp, [esp]
mov cl, byte [edx]
mov byte [eax], cl
add edx, 1
add eax, 1
test cl, cl
jne 0x10051a50
push ebx
pop ebx
call fcn.10041000
mov dword [esp + 0x24], eax
test dl, dl
push edx
pop edx
push 0
push 0
push edi
push 0x1004d190
push 0
push 0
call fcn.1011990f
add esp, 0x18
push eax
pop eax
mov edi, dword [esp + 0x34]
mov dword [edi + ebp*4], eax
mov ah, ah
mov eax, dword [esp + 0x24]
push eax
call fcn.100410c0
add esp, 4
test bh, bh
cmp dword [edi + ebp*4], 0
je 0x10051adc
lea edi, [ebx + 1]
test eax, eax
mov byte [esp + 0x108], 1
lea ecx, [esp + 0x84]
call fcn.10006e20
mov ecx, dword [esp + 0x64]
add dword [esp + 0x74], ecx
add ebp, 1
add esi, 0x28
cmp ebp, dword [esp + 0x20]
jl 0x10051965
jmp 0x10051af4
xor ebp, ebp
test al, al
jmp 0x10051ae0
xor ebp, ebp
test edx, edx
mov byte [esp + 0x108], 1
lea ecx, [esp + 0x84]
call fcn.10006e20
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x78]
xor edi, edi
test cl, cl
cmp ebp, ebx
jne 0x10051bbc
mov edx, dword [esp + 0x34]
push 0xffffffffffffffff
push 1
push edx
push ebx
call dword [sym.imp.KERNEL32.DLL_WaitForMultipleObjects]
push edx
pop edx
cmp eax, 0xffffffff
je 0x10051bbc
xor ebp, ebp
test ch, ch
test ebx, ebx
jle 0x10051bb5
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 0x10051ba1
test edi, edi
jle 0x10051b89
cmp byte [esi], 0
je 0x10051b57
mov byte [esi + ebp], 0x7c
test eax, eax
add ebp, 1
test dl, dl
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 0x10051b61
test ebx, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10051b74
sub eax, edx
add ebp, eax
test dh, dh
mov esi, dword [esp + 0x78]
jmp 0x10051baa
mov eax, esi
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10051b90
sub eax, edx
mov ebp, eax
mov ch, ch
jmp 0x10051baa
test edi, edi
jne 0x10051baa
mov byte [esi], 0
test bh, bh
add edi, 1
cmp edi, ebx
jl 0x10051b2f
mov edi, 1
test ch, ch
mov ebp, dword [esp + 0x34]
xor esi, esi
test ebx, ebx
jle 0x10051bf9
mov eax, dword [ebp + esi*4]
test eax, eax
je 0x10051bf2
push eax
call fcn.10066f60
add esp, 4
test esi, esi
mov ecx, dword [ebp + esi*4]
push ecx
call fcn.100c6800
add esp, 4
push edx
pop edx
mov dword [ebp + esi*4], 0
test ecx, ecx
add esi, 1
cmp esi, ebx
jl 0x10051bc6
push ebp
call fcn.10116c9f
add esp, 4
mov esi, esi
test ebx, ebx
jle 0x10051c29
mov esi, dword [esp + 0x38]
add esi, 8
nop
mov eax, dword [esi]
test eax, eax
je 0x10051c21
push eax
call fcn.10116c9f
add esp, 4
test al, al
add esi, 0x28
sub ebx, 1
jne 0x10051c10
mov edx, dword [esp + 0x38]
push edx
call fcn.10116c9f
add esp, 4
test ecx, ecx
mov dword [esp + 0x108], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.10050ee0
mov eax, edi
jmp 0x100518da
push 0x101823a8
call fcn.10105a80