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

Disassembly:
push 0xffffffffffffffff
push 0x10162703
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x101b629c]
xor eax, esp
mov dword [esp + 0xd8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101b629c]
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 0x1016a58c
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.10101f80
add esp, 8
test eax, eax
je 0x1003d572
push 0x1016a878
push esi
call fcn.10101f80
add esp, 8
test eax, eax
jne 0x1003d572
xor ebp, ebp
xor edi, edi
mov dword [esp + 0x54], edi
jmp 0x1003d574
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 0x1003d860
mov eax, dword [esp + 0x100]
cmp dword [eax + 0x32c0], ebp
je 0x1003d5a4
mov dword [esp + 0x14], ebx
jmp 0x1003d5be
lea ecx, [esp + 0x34]
push ecx
push ebx
mov dword [esp + 0x3c], ebp
call fcn.10054310
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.101019f5
mov eax, dword [esp + 0x24]
push eax
call fcn.100586d0
mov esi, dword [esp + 0x3c]
add esp, 0x14
test al, al
je 0x1003d6a6
cmp esi, 0x80000000
ja 0x1003da1a
mov edi, dword [esp + 0x24]
jb 0x1003d675
cmp edi, ebp
jae 0x1003da1a
mov eax, dword [esp + 0x1c]
cmp esi, eax
ja 0x1003da1a
mov ecx, dword [esp + 0x18]
jb 0x1003d68f
cmp edi, ecx
ja 0x1003da1a
cmp eax, 0x80000000
jb 0x1003d6f5
ja 0x1003d69c
cmp ecx, ebp
jb 0x1003d6f5
or ecx, 0xffffffff
mov eax, SysReAllocString
jmp 0x1003d6ed
cmp esi, ebp
ja 0x1003da1a
mov edi, dword [esp + 0x24]
jb 0x1003d6c0
cmp edi, 0x80000000
jae 0x1003da1a
mov eax, dword [esp + 0x1c]
cmp esi, eax
ja 0x1003da1a
mov ecx, dword [esp + 0x18]
jb 0x1003d6da
cmp edi, ecx
ja 0x1003da1a
cmp eax, ebp
ja 0x1003d6e6
cmp ecx, 0x80000000
jb 0x1003d6f5
mov ecx, SysReAllocString
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
cmp esi, eax
ja 0x1003d989
jb 0x1003d707
cmp edi, ecx
jae 0x1003d989
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.100592d0
add esp, 0x24
test eax, eax
je 0x1003d989
push 0x3f
lea ecx, [esp + 0xb1]
push ebp
push ecx
mov byte [esp + 0xb8], 0
call fcn.10100160
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 0x1003d77f
mov ebx, dword [esp + 0x18]
ja 0x1003d77b
cmp ecx, ebx
jbe 0x1003d77f
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.10100f40
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 0x1003d7c0
sub eax, edx
push eax
lea ecx, [esp + 0xb0]
push ecx
lea ecx, [esp + 0x8c]
call fcn.100099d0
mov byte [esp + 0xf8], 1
lea edx, [esp + 0x84]
push edx
lea ecx, [esp + 0x44]
call fcn.1003d430
mov byte [esp + 0xf8], 0
cmp dword [esp + 0x9c], 0x10
jb 0x1003d81b
mov eax, dword [esp + 0x88]
push eax
call fcn.100ee0d8
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 0x1003d707
ja 0x1003d989
cmp edi, dword [esp + 0x18]
jb 0x1003d707
jmp 0x1003d989
mov ebx, 0xf
xor eax, eax
push 0x1016a58c
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.10101f80
mov edi, eax
add esp, 8
cmp edi, ebp
lea edx, [esp + 0xac]
je 0x1003d8db
mov ecx, edi
sub ecx, esi
push ecx
push esi
push edx
call fcn.10102010
add esp, 0xc
jmp 0x1003d8ec
mov eax, esi
sub edx, esi
nop
mov cl, byte [eax]
mov byte [eax + edx], cl
add eax, 1
test cl, cl
jne 0x1003d8e0
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 0x1003d910
sub eax, edx
push eax
lea eax, [esp + 0xb0]
push eax
lea ecx, [esp + 0x8c]
call fcn.100099d0
mov byte [esp + 0xf8], 2
lea ecx, [esp + 0x84]
push ecx
lea ecx, [esp + 0x44]
call fcn.1003d430
mov byte [esp + 0xf8], 0
cmp dword [esp + 0x9c], 0x10
jb 0x1003d96b
mov edx, dword [esp + 0x88]
push edx
call fcn.100ee0d8
add esp, 4
cmp edi, ebp
mov dword [esp + 0x9c], ebx
mov dword [esp + 0x98], ebp
mov byte [esp + 0x88], 0
jne 0x1003d865
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemInfo]
mov eax, dword [esp + 0x44]
cmp eax, ebp
je 0x1003d9b5
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 0x1003d9c9
mov ebx, ebp
mov dword [esp + 0x2c], ebp
jmp 0x1003d9cd
mov dword [esp + 0x2c], ebx
cmp ebx, 0x40
jl 0x1003d9db
mov ebx, 0x40
mov dword [esp + 0x2c], ebx
lea edi, [ebx*4]
push edi
call fcn.100ff166
add esp, 4
test eax, eax
mov dword [esp + 0x24], eax
je 0x1003da1a
lea esi, [ebx + ebx*4]
add esi, esi
add esi, esi
add esi, esi
push esi
call fcn.100ff166
add esp, 4
test eax, eax
mov dword [esp + 0x14], eax
jne 0x1003da35
mov ecx, dword [esp + 0x24]
push ecx
call fcn.100ff229
add esp, 4
mov dword [esp + 0xf8], 0xffffffff
lea ecx, [esp + 0x40]
call fcn.1003cfe0
xor eax, eax
jmp 0x1003dd9a
mov edx, dword [esp + 0x24]
push edi
push 0
push edx
call fcn.10100160
mov eax, dword [esp + 0x20]
push esi
push 0
push eax
call fcn.10100160
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 0x1003dc61
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x34], ecx
add esi, 0xc
jmp 0x1003da90
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x58]
add eax, 0xffffffff
cmp ebp, eax
lea ebx, [edx + edi - 1]
jne 0x1003daaa
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.1003b460
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.100ff166
add esp, 0x10
test eax, eax
mov dword [esi - 4], eax
je 0x1003dc01
cmp dword [esp + 0x9c], 0x10
mov edx, dword [esp + 0x88]
jae 0x1003db60
lea edx, [esp + 0x88]
jmp 0x1003db60
mov cl, byte [edx]
mov byte [eax], cl
add edx, 1
add eax, 1
test cl, cl
jne 0x1003db60
call fcn.1002d8c0
push 0
push 0
push edi
push 0x10039020
push 0
push 0
mov dword [esp + 0x68], eax
call fcn.101018df
mov ecx, dword [esp + 0x68]
mov edi, dword [esp + 0x3c]
push ecx
mov dword [edi + ebp*4], eax
call fcn.1002d960
add esp, 0x1c
cmp dword [edi + ebp*4], 0
je 0x1003dc1f
lea edi, [ebx + 1]
mov byte [esp + 0xf8], 0
cmp dword [esp + 0x9c], 0x10
jb 0x1003dbc9
mov edx, dword [esp + 0x88]
push edx
call fcn.100ee0d8
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 0x1003da90
jmp 0x1003dc5d
xor ebp, ebp
mov byte [esp + 0xf8], 0
cmp dword [esp + 0x9c], 0x10
jb 0x1003dc43
mov ecx, dword [esp + 0x88]
push ecx
jmp 0x1003dc3b
xor ebp, ebp
mov byte [esp + 0xf8], 0
cmp dword [esp + 0x9c], 0x10
jb 0x1003dc43
mov edx, dword [esp + 0x88]
push edx
call fcn.100ee0d8
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 0x1003dd12
mov eax, dword [esp + 0x24]
push 0xffffffffffffffff
push 1
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_WaitForMultipleObjects]
cmp eax, 0xffffffff
je 0x1003dd12
xor ebp, ebp
test ebx, ebx
jle 0x1003dd0d
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 0x1003dcff
test edi, edi
jle 0x1003dce4
cmp byte [esi], 0
je 0x1003dcb0
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 0x1003dcc0
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1003dcd1
mov esi, dword [esp + 0x20]
sub eax, edx
add ebp, eax
jmp 0x1003dd06
mov eax, esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1003dcf0
sub eax, edx
mov ebp, eax
jmp 0x1003dd06
test edi, edi
jne 0x1003dd06
mov byte [esi], 0
add edi, 1
cmp edi, ebx
jl 0x1003dc8e
mov edi, 1
mov ebp, dword [esp + 0x24]
xor esi, esi
test ebx, ebx
jle 0x1003dd46
mov eax, dword [ebp + esi*4]
test eax, eax
je 0x1003dd3f
push eax
call fcn.10051ec0
mov ecx, dword [ebp + esi*4]
push ecx
call fcn.100b06b0
add esp, 8
mov dword [ebp + esi*4], 0
add esi, 1
cmp esi, ebx
jl 0x1003dd1c
push ebp
call fcn.100ff229
add esp, 4
test ebx, ebx
jle 0x1003dd77
mov esi, dword [esp + 0x14]
add esi, 8
lea ebx, [ebx]
mov eax, dword [esi]
test eax, eax
je 0x1003dd6f
push eax
call fcn.100ff229
add esp, 4
add esi, 0x28
sub ebx, 1
jne 0x1003dd60
mov edx, dword [esp + 0x14]
push edx
call fcn.100ff229
add esp, 4
mov dword [esp + 0xf8], 0xffffffff
lea ecx, [esp + 0x40]
call fcn.1003cfe0
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.100ff704
add esp, 0xe8
ret