Function at 0x100506c0
Capabilities:
Create thread
Get system information on windows

Disassembly:
push 0xffffffffffffffff
push 0x101743d3
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x101c8fb4]
xor eax, esp
mov dword [esp + 0xd8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101c8fb4]
xor eax, esp
push eax
lea eax, [esp + 0xf0]
mov dword fs:[0], eax
mov eax, dword [esp + 0x120]
mov esi, dword [esp + 0x108]
mov ebx, dword [esp + 0x104]
push 0x1017ba38
mov edi, 1
push esi
mov dword [esp + 0x64], ebx
mov dword [esp + 0x28], eax
mov byte [eax], 0
mov dword [esp + 0x5c], edi
call fcn.10112130
add esp, 8
test eax, eax
je 0x10050752
push 0x1017bb10
push esi
call fcn.10112130
add esp, 8
test eax, eax
jne 0x10050752
xor ebp, ebp
xor edi, edi
mov dword [esp + 0x54], edi
jmp 0x10050754
xor ebp, ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebp
mov dword [esp + 0xf8], ebp
cmp edi, ebp
je 0x10050a40
mov eax, dword [esp + 0x100]
cmp dword [eax + 0x32bc], ebp
je 0x10050784
mov dword [esp + 0x14], ebx
jmp 0x1005079e
lea ecx, [esp + 0x34]
push ecx
push ebx
mov dword [esp + 0x3c], ebp
call fcn.100678d0
mov edx, dword [esp + 0x3c]
add esp, 8
mov dword [esp + 0x14], edx
mov al, 0x78
mov cl, 0x34
mov byte [esp + 0xa4], al
mov byte [esp + 0xaa], al
mov dl, 0x36
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0xa7], cl
mov byte [esp + 0xad], cl
lea ecx, [esp + 0x28]
mov byte [esp + 0xa6], dl
mov byte [esp + 0xac], dl
push ecx
lea edx, [esp + 0xa8]
push edx
mov bl, 0x49
push esi
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov byte [esp + 0xb0], 0x25
mov byte [esp + 0xb1], bl
mov byte [esp + 0xb5], 0x2d
mov byte [esp + 0xb6], 0x25
mov byte [esp + 0xb7], bl
mov byte [esp + 0xbb], 0
call fcn.10113843
mov eax, dword [esp + 0x24]
push eax
call fcn.1006c3d0
mov esi, dword [esp + 0x3c]
add esp, 0x14
test al, al
je 0x10050886
cmp esi, 0x80000000
ja 0x10050bfa
mov edi, dword [esp + 0x24]
jb 0x10050855
cmp edi, ebp
jae 0x10050bfa
mov eax, dword [esp + 0x1c]
cmp esi, eax
ja 0x10050bfa
mov ecx, dword [esp + 0x18]
jb 0x1005086f
cmp edi, ecx
ja 0x10050bfa
cmp eax, 0x80000000
jb 0x100508d5
ja 0x1005087c
cmp ecx, ebp
jb 0x100508d5
or ecx, 0xffffffff
mov eax, SysReAllocString
jmp 0x100508cd
cmp esi, ebp
ja 0x10050bfa
mov edi, dword [esp + 0x24]
jb 0x100508a0
cmp edi, 0x80000000
jae 0x10050bfa
mov eax, dword [esp + 0x1c]
cmp esi, eax
ja 0x10050bfa
mov ecx, dword [esp + 0x18]
jb 0x100508ba
cmp edi, ecx
ja 0x10050bfa
cmp eax, ebp
ja 0x100508c6
cmp ecx, 0x80000000
jb 0x100508d5
mov ecx, SysReAllocString
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
cmp esi, eax
ja 0x10050b69
jb 0x100508e7
cmp edi, ecx
jae 0x10050b69
push ebp
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x60]
push edx
lea eax, [esp + 0x48]
push eax
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x48]
push edx
push esi
push edi
push eax
call fcn.1006cfd0
add esp, 0x24
test eax, eax
je 0x10050b69
push 0x3f
lea ecx, [esp + 0xb1]
push ebp
push ecx
mov byte [esp + 0xb8], 0
call fcn.10112240
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x28]
add esp, 0xc
add ecx, dword [esp + 0x2c]
adc eax, dword [esp + 0x30]
add ecx, 0xffffffff
adc eax, 0xffffffff
cmp eax, edx
jb 0x1005095f
mov ebx, dword [esp + 0x18]
ja 0x1005095b
cmp ecx, ebx
jbe 0x1005095f
mov ecx, ebx
mov eax, edx
push eax
push ecx
push esi
push edi
lea edx, [esp + 0xb0]
push edx
lea eax, [esp + 0xc0]
push eax
call fcn.10112d57
mov esi, 0xf
lea eax, [esp + 0xc4]
add esp, 0x18
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 0x100509a0
sub eax, edx
push eax
lea ecx, [esp + 0xb0]
push ecx
lea ecx, [esp + 0x8c]
call fcn.10004080
mov byte [esp + 0xf8], 1
lea edx, [esp + 0x84]
push edx
lea ecx, [esp + 0x44]
call fcn.10050610
mov byte [esp + 0xf8], 0
cmp dword [esp + 0x9c], 0x10
jb 0x100509fb
mov eax, dword [esp + 0x88]
push eax
call fcn.10100548
add esp, 4
mov edi, dword [esp + 0x34]
add edi, dword [esp + 0x2c]
mov dword [esp + 0x9c], esi
mov esi, dword [esp + 0x38]
adc esi, dword [esp + 0x30]
mov dword [esp + 0x98], ebp
cmp esi, dword [esp + 0x1c]
mov byte [esp + 0x88], 0
jb 0x100508e7
ja 0x10050b69
cmp edi, dword [esp + 0x18]
jb 0x100508e7
jmp 0x10050b69
mov ebx, 0xf
xor eax, eax
push 0x1017ba38
push esi
mov byte [esp + 0xb4], 0
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 dword [esp + 0xc9], eax
mov dword [esp + 0xcd], eax
mov word [esp + 0xd1], ax
mov byte [esp + 0xd3], al
call fcn.10112130
mov edi, eax
add esp, 8
cmp edi, ebp
lea edx, [esp + 0xac]
je 0x10050abb
mov ecx, edi
sub ecx, esi
push ecx
push esi
push edx
call fcn.10113dd0
add esp, 0xc
jmp 0x10050acc
mov eax, esi
sub edx, esi
nop
mov cl, byte [eax]
mov byte [eax + edx], cl
add eax, 1
test cl, cl
jne 0x10050ac0
lea eax, [esp + 0xac]
lea esi, [edi + 1]
mov dword [esp + 0x9c], ebx
mov dword [esp + 0x98], ebp
mov byte [esp + 0x88], 0
lea edx, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10050af0
sub eax, edx
push eax
lea eax, [esp + 0xb0]
push eax
lea ecx, [esp + 0x8c]
call fcn.10004080
mov byte [esp + 0xf8], 2
lea ecx, [esp + 0x84]
push ecx
lea ecx, [esp + 0x44]
call fcn.10050610
mov byte [esp + 0xf8], 0
cmp dword [esp + 0x9c], 0x10
jb 0x10050b4b
mov edx, dword [esp + 0x88]
push edx
call fcn.10100548
add esp, 4
cmp edi, ebp
mov dword [esp + 0x9c], ebx
mov dword [esp + 0x98], ebp
mov byte [esp + 0x88], 0
jne 0x10050a45
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esp + 0x44]
cmp eax, ebp
je 0x10050b95
mov ecx, dword [esp + 0x48]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ebp, edx
shr ebp, 0x1f
add ebp, edx
mov ebx, dword [esp + 0x74]
cmp ebp, ebx
mov dword [esp + 0x18], ebp
jae 0x10050ba9
mov ebx, ebp
mov dword [esp + 0x2c], ebp
jmp 0x10050bad
mov dword [esp + 0x2c], ebx
cmp ebx, 0x40
jl 0x10050bbb
mov ebx, 0x40
mov dword [esp + 0x2c], ebx
lea edi, [ebx*4]
push edi
call fcn.10111579
add esp, 4
test eax, eax
mov dword [esp + 0x24], eax
je 0x10050bfa
lea esi, [ebx + ebx*4]
add esi, esi
add esi, esi
add esi, esi
push esi
call fcn.10111579
add esp, 4
test eax, eax
mov dword [esp + 0x14], eax
jne 0x10050c15
mov ecx, dword [esp + 0x24]
push ecx
call fcn.1011163c
add esp, 4
mov dword [esp + 0xf8], 0xffffffff
lea ecx, [esp + 0x40]
call fcn.100501c0
xor eax, eax
jmp 0x10050f7a
mov edx, dword [esp + 0x24]
push edi
push 0
push edx
call fcn.10112240
mov eax, dword [esp + 0x20]
push esi
push 0
push eax
call fcn.10112240
xor edx, edx
mov eax, ebp
div ebx
xor edx, edx
add esp, 0x18
xor edi, edi
xor ebp, ebp
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x124]
div ebx
test ebx, ebx
mov dword [esp + 0x3c], eax
jle 0x10050e41
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x34], ecx
add esi, 0xc
jmp 0x10050c70
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x58]
add eax, 0xffffffff
cmp ebp, eax
lea ebx, [edx + edi - 1]
jne 0x10050c8a
mov ebx, dword [esp + 0x18]
add ebx, 0xffffffff
mov eax, dword [esp + 0x54]
mov ecx, ebx
sub ecx, edi
push eax
add ecx, 1
push ecx
lea edx, [esp + 0x48]
mov ecx, edi
push edx
lea edi, [esp + 0x90]
call fcn.1004e640
mov byte [esp + 0x104], 3
mov eax, dword [esp + 0x10c]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x118]
mov dword [esi - 0xc], eax
mov eax, dword [esp + 0x11c]
lea edi, [esi - 0xc]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x128]
mov dword [esi - 8], ecx
mov ecx, dword [esp + 0x120]
mov dword [esi], edx
mov edx, dword [esp + 0x124]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0xa4]
mov dword [esi + 8], ecx
mov ecx, dword [esp + 0x40]
mov dword [esi + 0xc], edx
mov edx, dword [esp + 0x48]
add eax, 1
push eax
mov dword [esi + 0x14], ecx
mov dword [esi + 0x18], edx
call fcn.10111579
add esp, 0x10
test eax, eax
mov dword [esi - 4], eax
je 0x10050de1
cmp dword [esp + 0x9c], 0x10
mov edx, dword [esp + 0x88]
jae 0x10050d40
lea edx, [esp + 0x88]
jmp 0x10050d40
mov cl, byte [edx]
mov byte [eax], cl
add edx, 1
add eax, 1
test cl, cl
jne 0x10050d40
call fcn.10040860
push 0
push 0
push edi
push 0x1004c250
push 0
push 0
mov dword [esp + 0x68], eax
call fcn.101136ff
mov ecx, dword [esp + 0x68]
mov edi, dword [esp + 0x3c]
push ecx
mov dword [edi + ebp*4], eax
call fcn.10040900
add esp, 0x1c
cmp dword [edi + ebp*4], 0
je 0x10050dff
lea edi, [ebx + 1]
mov byte [esp + 0xf8], 0
cmp dword [esp + 0x9c], 0x10
jb 0x10050da9
mov edx, dword [esp + 0x88]
push edx
call fcn.10100548
add esp, 4
mov eax, dword [esp + 0x3c]
add dword [esp + 0x34], eax
add ebp, 1
add esi, 0x28
cmp ebp, dword [esp + 0x2c]
mov dword [esp + 0x9c], 0xf
mov dword [esp + 0x98], 0
mov byte [esp + 0x88], 0
jl 0x10050c70
jmp 0x10050e3d
xor ebp, ebp
mov byte [esp + 0xf8], 0
cmp dword [esp + 0x9c], 0x10
jb 0x10050e23
mov ecx, dword [esp + 0x88]
push ecx
jmp 0x10050e1b
xor ebp, ebp
mov byte [esp + 0xf8], 0
cmp dword [esp + 0x9c], 0x10
jb 0x10050e23
mov edx, dword [esp + 0x88]
push edx
call fcn.10100548
add esp, 4
mov byte [esp + 0x88], 0
mov dword [esp + 0x98], ebp
mov dword [esp + 0x9c], 0xf
mov ebx, dword [esp + 0x2c]
mov esi, dword [esp + 0x20]
xor edi, edi
cmp ebp, ebx
jne 0x10050ef2
mov eax, dword [esp + 0x24]
push 0xffffffffffffffff
push 1
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
cmp eax, 0xffffffff
je 0x10050ef2
xor ebp, ebp
test ebx, ebx
jle 0x10050eed
mov edx, dword [esp + 0x14]
lea ecx, [edi + edi*4]
lea eax, [edx + ecx*8 + 0x20]
mov ecx, dword [eax]
cmp byte [ecx], 0
je 0x10050edf
test edi, edi
jle 0x10050ec4
cmp byte [esi], 0
je 0x10050e90
mov byte [esi + ebp], 0x7c
add ebp, 1
mov edx, dword [eax]
mov eax, dword [esp + 0x20]
add eax, ebp
mov esi, eax
lea ebx, [ebx]
mov cl, byte [edx]
mov byte [esi], cl
add edx, 1
add esi, 1
test cl, cl
jne 0x10050ea0
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10050eb1
mov esi, dword [esp + 0x20]
sub eax, edx
add ebp, eax
jmp 0x10050ee6
mov eax, esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10050ed0
sub eax, edx
mov ebp, eax
jmp 0x10050ee6
test edi, edi
jne 0x10050ee6
mov byte [esi], 0
add edi, 1
cmp edi, ebx
jl 0x10050e6e
mov edi, 1
mov ebp, dword [esp + 0x24]
xor esi, esi
test ebx, ebx
jle 0x10050f26
mov eax, dword [ebp + esi*4]
test eax, eax
je 0x10050f1f
push eax
call fcn.10064f10
mov ecx, dword [ebp + esi*4]
push ecx
call fcn.100c03a0
add esp, 8
mov dword [ebp + esi*4], 0
add esi, 1
cmp esi, ebx
jl 0x10050efc
push ebp
call fcn.1011163c
add esp, 4
test ebx, ebx
jle 0x10050f57
mov esi, dword [esp + 0x14]
add esi, 8
lea ebx, [ebx]
mov eax, dword [esi]
test eax, eax
je 0x10050f4f
push eax
call fcn.1011163c
add esp, 4
add esi, 0x28
sub ebx, 1
jne 0x10050f40
mov edx, dword [esp + 0x14]
push edx
call fcn.1011163c
add esp, 4
mov dword [esp + 0xf8], 0xffffffff
lea ecx, [esp + 0x40]
call fcn.100501c0
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.10111b17
add esp, 0xe8
ret