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

Disassembly:
push 0xffffffffffffffff
push 0x10162b83
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x101b7324]
xor eax, esp
mov dword [esp + 0xd8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101b7324]
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 0x1016b5b4
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.10102370
add esp, 8
test eax, eax
je 0x1003d582
push 0x1016b8a0
push esi
call fcn.10102370
add esp, 8
test eax, eax
jne 0x1003d582
xor ebp, ebp
xor edi, edi
mov dword [esp + 0x54], edi
jmp 0x1003d584
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 0x1003d870
mov eax, dword [esp + 0x100]
cmp dword [eax + 0x32c0], ebp
je 0x1003d5b4
mov dword [esp + 0x14], ebx
jmp 0x1003d5ce
lea ecx, [esp + 0x34]
push ecx
push ebx
mov dword [esp + 0x3c], ebp
call fcn.10054320
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.10101de5
mov eax, dword [esp + 0x24]
push eax
call fcn.10058740
mov esi, dword [esp + 0x3c]
add esp, 0x14
test al, al
je 0x1003d6b6
cmp esi, 0x80000000
ja 0x1003da2a
mov edi, dword [esp + 0x24]
jb 0x1003d685
cmp edi, ebp
jae 0x1003da2a
mov eax, dword [esp + 0x1c]
cmp esi, eax
ja 0x1003da2a
mov ecx, dword [esp + 0x18]
jb 0x1003d69f
cmp edi, ecx
ja 0x1003da2a
cmp eax, 0x80000000
jb 0x1003d705
ja 0x1003d6ac
cmp ecx, ebp
jb 0x1003d705
or ecx, 0xffffffff
mov eax, SysReAllocString
jmp 0x1003d6fd
cmp esi, ebp
ja 0x1003da2a
mov edi, dword [esp + 0x24]
jb 0x1003d6d0
cmp edi, 0x80000000
jae 0x1003da2a
mov eax, dword [esp + 0x1c]
cmp esi, eax
ja 0x1003da2a
mov ecx, dword [esp + 0x18]
jb 0x1003d6ea
cmp edi, ecx
ja 0x1003da2a
cmp eax, ebp
ja 0x1003d6f6
cmp ecx, 0x80000000
jb 0x1003d705
mov ecx, SysReAllocString
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
cmp esi, eax
ja 0x1003d999
jb 0x1003d717
cmp edi, ecx
jae 0x1003d999
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.10059340
add esp, 0x24
test eax, eax
je 0x1003d999
push 0x3f
lea ecx, [esp + 0xb1]
push ebp
push ecx
mov byte [esp + 0xb8], 0
call fcn.10100550
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 0x1003d78f
mov ebx, dword [esp + 0x18]
ja 0x1003d78b
cmp ecx, ebx
jbe 0x1003d78f
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.10101330
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 0x1003d7d0
sub eax, edx
push eax
lea ecx, [esp + 0xb0]
push ecx
lea ecx, [esp + 0x8c]
call fcn.100099a0
mov byte [esp + 0xf8], 1
lea edx, [esp + 0x84]
push edx
lea ecx, [esp + 0x44]
call fcn.1003d440
mov byte [esp + 0xf8], 0
cmp dword [esp + 0x9c], 0x10
jb 0x1003d82b
mov eax, dword [esp + 0x88]
push eax
call fcn.100ee4bd
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 0x1003d717
ja 0x1003d999
cmp edi, dword [esp + 0x18]
jb 0x1003d717
jmp 0x1003d999
mov ebx, 0xf
xor eax, eax
push 0x1016b5b4
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.10102370
mov edi, eax
add esp, 8
cmp edi, ebp
lea edx, [esp + 0xac]
je 0x1003d8eb
mov ecx, edi
sub ecx, esi
push ecx
push esi
push edx
call fcn.10102400
add esp, 0xc
jmp 0x1003d8fc
mov eax, esi
sub edx, esi
nop
mov cl, byte [eax]
mov byte [eax + edx], cl
add eax, 1
test cl, cl
jne 0x1003d8f0
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 0x1003d920
sub eax, edx
push eax
lea eax, [esp + 0xb0]
push eax
lea ecx, [esp + 0x8c]
call fcn.100099a0
mov byte [esp + 0xf8], 2
lea ecx, [esp + 0x84]
push ecx
lea ecx, [esp + 0x44]
call fcn.1003d440
mov byte [esp + 0xf8], 0
cmp dword [esp + 0x9c], 0x10
jb 0x1003d97b
mov edx, dword [esp + 0x88]
push edx
call fcn.100ee4bd
add esp, 4
cmp edi, ebp
mov dword [esp + 0x9c], ebx
mov dword [esp + 0x98], ebp
mov byte [esp + 0x88], 0
jne 0x1003d875
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemInfo]
mov eax, dword [esp + 0x44]
cmp eax, ebp
je 0x1003d9c5
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 0x1003d9d9
mov ebx, ebp
mov dword [esp + 0x2c], ebp
jmp 0x1003d9dd
mov dword [esp + 0x2c], ebx
cmp ebx, 0x40
jl 0x1003d9eb
mov ebx, 0x40
mov dword [esp + 0x2c], ebx
lea edi, [ebx*4]
push edi
call fcn.100ff548
add esp, 4
test eax, eax
mov dword [esp + 0x24], eax
je 0x1003da2a
lea esi, [ebx + ebx*4]
add esi, esi
add esi, esi
add esi, esi
push esi
call fcn.100ff548
add esp, 4
test eax, eax
mov dword [esp + 0x14], eax
jne 0x1003da45
mov ecx, dword [esp + 0x24]
push ecx
call fcn.100ff60b
add esp, 4
mov dword [esp + 0xf8], 0xffffffff
lea ecx, [esp + 0x40]
call fcn.1003cff0
xor eax, eax
jmp 0x1003ddaa
mov edx, dword [esp + 0x24]
push edi
push 0
push edx
call fcn.10100550
mov eax, dword [esp + 0x20]
push esi
push 0
push eax
call fcn.10100550
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 0x1003dc71
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x34], ecx
add esi, 0xc
jmp 0x1003daa0
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x58]
add eax, 0xffffffff
cmp ebp, eax
lea ebx, [edx + edi - 1]
jne 0x1003daba
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.1003b470
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.100ff548
add esp, 0x10
test eax, eax
mov dword [esi - 4], eax
je 0x1003dc11
cmp dword [esp + 0x9c], 0x10
mov edx, dword [esp + 0x88]
jae 0x1003db70
lea edx, [esp + 0x88]
jmp 0x1003db70
mov cl, byte [edx]
mov byte [eax], cl
add edx, 1
add eax, 1
test cl, cl
jne 0x1003db70
call fcn.1002d900
push 0
push 0
push edi
push 0x10039030
push 0
push 0
mov dword [esp + 0x68], eax
call fcn.10101ccf
mov ecx, dword [esp + 0x68]
mov edi, dword [esp + 0x3c]
push ecx
mov dword [edi + ebp*4], eax
call fcn.1002d9a0
add esp, 0x1c
cmp dword [edi + ebp*4], 0
je 0x1003dc2f
lea edi, [ebx + 1]
mov byte [esp + 0xf8], 0
cmp dword [esp + 0x9c], 0x10
jb 0x1003dbd9
mov edx, dword [esp + 0x88]
push edx
call fcn.100ee4bd
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 0x1003daa0
jmp 0x1003dc6d
xor ebp, ebp
mov byte [esp + 0xf8], 0
cmp dword [esp + 0x9c], 0x10
jb 0x1003dc53
mov ecx, dword [esp + 0x88]
push ecx
jmp 0x1003dc4b
xor ebp, ebp
mov byte [esp + 0xf8], 0
cmp dword [esp + 0x9c], 0x10
jb 0x1003dc53
mov edx, dword [esp + 0x88]
push edx
call fcn.100ee4bd
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 0x1003dd22
mov eax, dword [esp + 0x24]
push 0xffffffffffffffff
push 1
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_WaitForMultipleObjects]
cmp eax, 0xffffffff
je 0x1003dd22
xor ebp, ebp
test ebx, ebx
jle 0x1003dd1d
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 0x1003dd0f
test edi, edi
jle 0x1003dcf4
cmp byte [esi], 0
je 0x1003dcc0
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 0x1003dcd0
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1003dce1
mov esi, dword [esp + 0x20]
sub eax, edx
add ebp, eax
jmp 0x1003dd16
mov eax, esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1003dd00
sub eax, edx
mov ebp, eax
jmp 0x1003dd16
test edi, edi
jne 0x1003dd16
mov byte [esi], 0
add edi, 1
cmp edi, ebx
jl 0x1003dc9e
mov edi, 1
mov ebp, dword [esp + 0x24]
xor esi, esi
test ebx, ebx
jle 0x1003dd56
mov eax, dword [ebp + esi*4]
test eax, eax
je 0x1003dd4f
push eax
call fcn.10051ed0
mov ecx, dword [ebp + esi*4]
push ecx
call fcn.100b02f0
add esp, 8
mov dword [ebp + esi*4], 0
add esi, 1
cmp esi, ebx
jl 0x1003dd2c
push ebp
call fcn.100ff60b
add esp, 4
test ebx, ebx
jle 0x1003dd87
mov esi, dword [esp + 0x14]
add esi, 8
lea ebx, [ebx]
mov eax, dword [esi]
test eax, eax
je 0x1003dd7f
push eax
call fcn.100ff60b
add esp, 4
add esi, 0x28
sub ebx, 1
jne 0x1003dd70
mov edx, dword [esp + 0x14]
push edx
call fcn.100ff60b
add esp, 4
mov dword [esp + 0xf8], 0xffffffff
lea ecx, [esp + 0x40]
call fcn.1003cff0
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.100ffae6
add esp, 0xe8
ret