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

Disassembly:
push 0xffffffffffffffff
push 0x10179733
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x101cc114]
xor eax, esp
mov dword [esp + 0xd8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101cc114]
xor eax, esp
push eax
lea eax, [esp + 0xf0]
mov dword fs:[0], eax
mov eax, dword [esp + 0x120]
mov ebx, dword [esp + 0x104]
mov esi, dword [esp + 0x108]
mov dword [esp + 0x80], ebx
mov dword [esp + 0x78], eax
mov byte [eax], 0
mov ebp, ebp
mov edi, 1
mov dword [esp + 0x7c], edi
push eax
pop eax
push 0x10181488
push esi
call fcn.10118100
add esp, 8
test eax, eax
je 0x100505ab
push 0x10181780
push esi
call fcn.10118100
add esp, 8
test eax, eax
jne 0x100505ab
xor ebp, ebp
xor edi, edi
mov dword [esp + 0x7c], edi
mov esi, esi
jmp 0x100505ad
xor ebp, ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0xf8], ebp
mov ecx, ecx
cmp edi, ebp
je 0x100508db
mov eax, dword [esp + 0x100]
cmp dword [eax + 0x32c0], ebp
je 0x100505df
mov dword [esp + 0x74], ebx
jmp 0x100505fd
mov dword [esp + 0x24], ebp
xchg ebx, eax
xchg ebx, eax
lea ecx, [esp + 0x24]
push ecx
push ebx
call fcn.10068890
add esp, 8
mov ch, ch
mov edx, dword [esp + 0x24]
mov dword [esp + 0x74], edx
nop
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov bh, bh
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov ah, ah
mov bl, 0x49
mov dl, 0x36
mov cl, 0x34
mov al, 0x78
mov byte [esp + 0xa0], 0x25
mov byte [esp + 0xa1], bl
mov byte [esp + 0xa2], dl
mov byte [esp + 0xa3], cl
mov byte [esp + 0xa4], al
mov byte [esp + 0xa5], 0x2d
mov byte [esp + 0xa6], 0x25
mov byte [esp + 0xa7], bl
mov byte [esp + 0xa8], dl
mov byte [esp + 0xa9], cl
mov byte [esp + 0xaa], al
mov byte [esp + 0xab], 0
mov al, al
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0xa8]
push edx
push esi
call fcn.10119c85
add esp, 0x10
nop
mov eax, dword [esp + 0x74]
push eax
call fcn.1006da90
add esp, 4
mov ah, ah
test al, al
mov esi, dword [esp + 0x34]
je 0x100506fd
cmp esi, 0x80000000
ja 0x10050ab9
mov edi, dword [esp + 0x30]
jb 0x100506c1
cmp edi, ebp
jae 0x10050ab9
mov ecx, dword [esp + 0x2c]
cmp esi, ecx
ja 0x10050ab9
mov eax, dword [esp + 0x28]
jb 0x100506db
cmp edi, eax
ja 0x10050ab9
cmp ecx, 0x80000000
jb 0x10050752
ja 0x100506e9
cmp eax, ebp
jb 0x10050752
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0x2c], SysReAllocStringLen
mov bl, bl
jmp 0x1005074a
cmp esi, ebp
ja 0x10050ab9
mov edi, dword [esp + 0x30]
jb 0x10050717
cmp edi, 0x80000000
jae 0x10050ab9
mov ecx, dword [esp + 0x2c]
cmp esi, ecx
ja 0x10050ab9
mov eax, dword [esp + 0x28]
jb 0x10050731
cmp edi, eax
ja 0x10050ab9
cmp ecx, ebp
ja 0x1005073c
cmp eax, 0x80000000
jb 0x10050752
mov dword [esp + 0x28], SysReAllocStringLen
mov dword [esp + 0x2c], ebp
push edx
pop edx
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x34]
push ebx
pop ebx
cmp esi, dword [esp + 0x2c]
ja 0x10050a14
jb 0x10050770
cmp edi, dword [esp + 0x28]
jae 0x10050a14
lea ebx, [ebx]
mov eax, eax
push eax
pop eax
push ebp
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x44]
push eax
mov eax, dword [esp + 0x84]
lea ecx, [esp + 0x7c]
push ecx
lea edx, [esp + 0x78]
push edx
push esi
push edi
push eax
call fcn.1006e760
add esp, 0x24
test eax, eax
je 0x10050a14
push 0x3f
lea ecx, [esp + 0xb1]
push ebp
push ecx
mov byte [esp + 0xb8], 0
call fcn.101183f0
add esp, 0xc
nop
mov ecx, dword [esp + 0x64]
add ecx, dword [esp + 0x6c]
mov eax, dword [esp + 0x68]
adc eax, dword [esp + 0x70]
add ecx, 0xffffffff
adc eax, 0xffffffff
mov dl, dl
mov edx, dword [esp + 0x2c]
cmp eax, edx
jb 0x100507f4
mov ebx, dword [esp + 0x28]
ja 0x100507ee
cmp ecx, ebx
jbe 0x100507f4
mov ecx, ebx
mov eax, edx
push ebx
pop ebx
push eax
push ecx
push esi
push edi
lea edx, [esp + 0xb0]
push edx
lea eax, [esp + 0xc0]
push eax
call fcn.101191d0
add esp, 0x18
push ebx
pop ebx
mov esi, 0xf
lea eax, [esp + 0xac]
mov dword [esp + 0x9c], esi
mov dword [esp + 0x98], ebp
mov byte [esp + 0x88], 0
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10050837
sub eax, edx
push eax
lea ecx, [esp + 0xb0]
push ecx
lea ecx, [esp + 0x8c]
call fcn.1000a1c0
mov byte [esp + 0xf8], 1
lea edx, [esp + 0x84]
push edx
lea ecx, [esp + 0x18]
call fcn.10050460
mov byte [esp + 0xf8], 0
cmp dword [esp + 0x9c], 0x10
jb 0x10050892
mov eax, dword [esp + 0x88]
push eax
call fcn.1010959d
add esp, 4
mov dword [esp + 0x9c], esi
mov dword [esp + 0x98], ebp
mov byte [esp + 0x88], 0
mov ebx, ebx
mov edi, dword [esp + 0x64]
add edi, dword [esp + 0x6c]
mov esi, dword [esp + 0x68]
adc esi, dword [esp + 0x70]
mov ebp, ebp
cmp esi, dword [esp + 0x2c]
jb 0x10050770
ja 0x10050a14
cmp edi, dword [esp + 0x28]
jb 0x10050770
jmp 0x10050a14
mov al, al
mov ah, ah
mov ebx, 0xf
xor eax, eax
mov byte [esp + 0xac], 0
mov dword [esp + 0xad], eax
mov dword [esp + 0xb1], eax
mov dword [esp + 0xb5], eax
mov dword [esp + 0xb9], eax
mov dword [esp + 0xbd], eax
mov dword [esp + 0xc1], eax
mov dword [esp + 0xc5], eax
mov word [esp + 0xc9], ax
mov byte [esp + 0xcb], al
mov dh, dh
push 0x10181488
push esi
call fcn.10118100
add esp, 8
mov edi, eax
mov ecx, ecx
cmp edi, ebp
lea edx, [esp + 0xac]
je 0x10050960
mov ecx, edi
sub ecx, esi
push ecx
push esi
push edx
call fcn.1011a210
add esp, 0xc
push ebx
pop ebx
jmp 0x10050972
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [eax + edx], cl
add eax, 1
test cl, cl
jne 0x10050964
mov esi, esi
lea esi, [edi + 1]
mov ebp, ebp
lea eax, [esp + 0xac]
mov dword [esp + 0x9c], ebx
mov dword [esp + 0x98], ebp
mov byte [esp + 0x88], 0
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10050997
sub eax, edx
push eax
lea eax, [esp + 0xb0]
push eax
lea ecx, [esp + 0x8c]
call fcn.1000a1c0
mov byte [esp + 0xf8], 2
lea ecx, [esp + 0x84]
push ecx
lea ecx, [esp + 0x18]
call fcn.10050460
mov byte [esp + 0xf8], 0
cmp dword [esp + 0x9c], 0x10
jb 0x100509f2
mov edx, dword [esp + 0x88]
push edx
call fcn.1010959d
add esp, 4
mov dword [esp + 0x9c], ebx
mov dword [esp + 0x98], ebp
mov byte [esp + 0x88], 0
mov edx, edx
cmp edi, ebp
jne 0x100508e4
mov dh, dh
xchg ebx, eax
xchg ebx, eax
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemInfo]
mov dh, dh
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x10050a44
mov ecx, dword [esp + 0x1c]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ebp, edx
shr ebp, 0x1f
add ebp, edx
mov dword [esp + 0x6c], ebp
mov ebx, ebx
mov esi, esi
mov ebx, dword [esp + 0x54]
cmp ebp, ebx
jae 0x10050a5e
mov ebx, ebp
mov dword [esp + 0x24], ebp
mov ebp, ebp
jmp 0x10050a64
mov dword [esp + 0x24], ebx
xchg ebx, eax
xchg ebx, eax
cmp ebx, 0x40
jl 0x10050a74
mov ebx, 0x40
mov dword [esp + 0x24], ebx
mov ch, ch
lea edi, [ebx*4]
push edi
call fcn.10117399
add esp, 4
mov dword [esp + 0x38], eax
push ecx
pop ecx
test eax, eax
je 0x10050ab9
lea esi, [ebx + ebx*4]
add esi, esi
add esi, esi
add esi, esi
push esi
call fcn.10117399
add esp, 4
mov dword [esp + 0x3c], eax
mov ah, ah
test eax, eax
jne 0x10050ad4
mov ecx, dword [esp + 0x38]
push ecx
call fcn.1011745c
add esp, 4
push ebx
pop ebx
mov dword [esp + 0xf8], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.10050010
xor eax, eax
jmp 0x10050e8e
mov edx, dword [esp + 0x38]
push edi
push 0
push edx
call fcn.101183f0
add esp, 0xc
push ecx
pop ecx
mov eax, dword [esp + 0x3c]
push esi
push 0
push eax
call fcn.101183f0
add esp, 0xc
mov ch, ch
xor edi, edi
xchg ebx, eax
xchg ebx, eax
mov eax, ebp
xor edx, edx
div ebx
mov dword [esp + 0x30], eax
push eax
pop eax
mov eax, dword [esp + 0x124]
xor edx, edx
div ebx
mov dword [esp + 0x64], eax
push edx
pop edx
xchg ebx, eax
xchg ebx, eax
xor ebp, ebp
test ebx, ebx
jle 0x10050d39
mov ecx, dword [esp + 0x78]
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x74], ecx
add esi, 0xc
mov bl, bl
mov edx, dword [esp + 0x30]
lea ebx, [edx + edi - 1]
mov ah, ah
mov eax, dword [esp + 0x24]
add eax, 0xffffffff
cmp ebp, eax
jne 0x10050b54
mov ebx, dword [esp + 0x6c]
add ebx, 0xffffffff
push edx
pop edx
mov eax, dword [esp + 0x7c]
mov ecx, ebx
sub ecx, edi
push eax
add ecx, 1
push ecx
lea edx, [esp + 0x1c]
mov ecx, edi
push edx
lea edi, [esp + 0x90]
call fcn.1004e370
add esp, 0xc
mov byte [esp + 0xf8], 3
mov ebx, ebx
mov eax, dword [esp + 0x100]
lea edi, [esi - 0xc]
mov dword [edi], eax
mov edi, edi
mov ecx, dword [esp + 0x80]
mov dword [esi - 8], ecx
mov eax, eax
mov edx, dword [esp + 0x10c]
mov dword [esi], edx
mov dh, dh
mov eax, dword [esp + 0x110]
mov dword [esi + 4], eax
push eax
pop eax
mov ecx, dword [esp + 0x114]
mov dword [esi + 8], ecx
mov edx, edx
mov edx, dword [esp + 0x118]
mov dword [esi + 0xc], edx
mov esi, esi
mov eax, dword [esp + 0x11c]
mov dword [esi + 0x10], eax
mov ch, ch
mov ecx, dword [esp + 0x74]
mov dword [esi + 0x14], ecx
mov esi, esi
mov edx, dword [esp + 0x64]
mov dword [esi + 0x18], edx
mov ebp, ebp
mov eax, dword [esp + 0x98]
add eax, 1
push eax
call fcn.10117399
add esp, 4
mov dword [esi - 4], eax
mov dl, dl
mov eax, dword [esi - 4]
test eax, eax
je 0x10050cd5
cmp dword [esp + 0x9c], 0x10
mov edx, dword [esp + 0x88]
jae 0x10050c23
lea edx, [esp + 0x88]
mov cl, byte [edx]
mov byte [eax], cl
add edx, 1
add eax, 1
test cl, cl
jne 0x10050c23
mov dh, dh
call fcn.1003f2b0
mov dword [esp + 0x28], eax
mov esi, esi
mov esi, esi
push 0
push 0
push edi
push 0x1004bca0
push 0
push 0
call fcn.10119b6f
add esp, 0x18
push ebx
pop ebx
mov edi, dword [esp + 0x38]
mov dword [edi + ebp*4], eax
push ebx
pop ebx
mov ecx, dword [esp + 0x28]
push ecx
call fcn.1003f370
add esp, 4
xchg ebx, eax
xchg ebx, eax
cmp dword [edi + ebp*4], 0
je 0x10050cf5
lea edi, [ebx + 1]
mov ebp, ebp
mov byte [esp + 0xf8], 0
cmp dword [esp + 0x9c], 0x10
jb 0x10050c9d
mov edx, dword [esp + 0x88]
push edx
call fcn.1010959d
add esp, 4
mov eax, dword [esp + 0x64]
add dword [esp + 0x74], eax
add ebp, 1
add esi, 0x28
cmp ebp, dword [esp + 0x24]
mov dword [esp + 0x9c], 0xf
mov dword [esp + 0x98], 0
mov byte [esp + 0x88], 0
jl 0x10050b34
jmp 0x10050d35
xor ebp, ebp
mov ch, ch
mov byte [esp + 0xf8], 0
cmp dword [esp + 0x9c], 0x10
jb 0x10050d1b
mov ecx, dword [esp + 0x88]
push ecx
jmp 0x10050d13
xor ebp, ebp
mov ebx, ebx
mov byte [esp + 0xf8], 0
cmp dword [esp + 0x9c], 0x10
jb 0x10050d1b
mov edx, dword [esp + 0x88]
push edx
call fcn.1010959d
add esp, 4
mov byte [esp + 0x88], 0
mov dword [esp + 0x98], ebp
mov dword [esp + 0x9c], 0xf
mov ebx, dword [esp + 0x24]
mov esi, dword [esp + 0x78]
xor edi, edi
mov edx, edx
cmp ebp, ebx
jne 0x10050dfc
mov eax, dword [esp + 0x38]
push 0xffffffffffffffff
push 1
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_WaitForMultipleObjects]
mov ebx, ebx
cmp eax, 0xffffffff
je 0x10050dfc
xor ebp, ebp
mov edx, edx
test ebx, ebx
jle 0x10050df5
mov edx, dword [esp + 0x3c]
lea ecx, [edi + edi*4]
lea eax, [edx + ecx*8 + 0x20]
mov ecx, dword [eax]
cmp byte [ecx], 0
je 0x10050de1
test edi, edi
jle 0x10050dc8
cmp byte [esi], 0
je 0x10050d96
mov byte [esi + ebp], 0x7c
mov bl, bl
add ebp, 1
mov ah, ah
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 0x10050da0
mov esi, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10050db3
sub eax, edx
add ebp, eax
mov dl, dl
mov esi, dword [esp + 0x78]
jmp 0x10050dea
mov eax, esi
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10050dd0
sub eax, edx
mov ebp, eax
mov esi, esi
jmp 0x10050dea
test edi, edi
jne 0x10050dea
mov byte [esi], 0
push eax
pop eax
add edi, 1
cmp edi, ebx
jl 0x10050d70
mov edi, 1
mov bl, bl
mov ebp, dword [esp + 0x38]
xor esi, esi
test ebx, ebx
jle 0x10050e39
mov eax, dword [ebp + esi*4]
test eax, eax
je 0x10050e32
push eax
call fcn.100662a0
add esp, 4
mov ebp, ebp
mov ecx, dword [ebp + esi*4]
push ecx
call fcn.100c6b00
add esp, 4
mov edx, edx
mov dword [ebp + esi*4], 0
mov edx, edx
add esi, 1
cmp esi, ebx
jl 0x10050e06
push ebp
call fcn.1011745c
add esp, 4
mov ah, ah
test ebx, ebx
jle 0x10050e69
mov esi, dword [esp + 0x3c]
add esi, 8
nop
mov eax, dword [esi]
test eax, eax
je 0x10050e61
push eax
call fcn.1011745c
add esp, 4
mov dh, dh
add esi, 0x28
sub ebx, 1
jne 0x10050e50
mov edx, dword [esp + 0x3c]
push edx
call fcn.1011745c
add esp, 4
mov edi, edi
mov dword [esp + 0xf8], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.10050010
mov eax, edi
mov ecx, dword [esp + 0xf0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xd8]
xor ecx, esp
call fcn.10117937
add esp, 0xe8
ret