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

Disassembly:
push 0xffffffffffffffff
push 0x10162a93
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.101022f0
add esp, 8
test eax, eax
je 0x1003d552
push 0x1016b8a0
push esi
call fcn.101022f0
add esp, 8
test eax, eax
jne 0x1003d552
xor ebp, ebp
xor edi, edi
mov dword [esp + 0x54], edi
jmp 0x1003d554
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 0x1003d840
mov eax, dword [esp + 0x100]
cmp dword [eax + 0x32c0], ebp
je 0x1003d584
mov dword [esp + 0x14], ebx
jmp 0x1003d59e
lea ecx, [esp + 0x34]
push ecx
push ebx
mov dword [esp + 0x3c], ebp
call fcn.100542c0
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.10101d65
mov eax, dword [esp + 0x24]
push eax
call fcn.100586b0
mov esi, dword [esp + 0x3c]
add esp, 0x14
test al, al
je 0x1003d686
cmp esi, 0x80000000
ja 0x1003d9fa
mov edi, dword [esp + 0x24]
jb 0x1003d655
cmp edi, ebp
jae 0x1003d9fa
mov eax, dword [esp + 0x1c]
cmp esi, eax
ja 0x1003d9fa
mov ecx, dword [esp + 0x18]
jb 0x1003d66f
cmp edi, ecx
ja 0x1003d9fa
cmp eax, 0x80000000
jb 0x1003d6d5
ja 0x1003d67c
cmp ecx, ebp
jb 0x1003d6d5
or ecx, 0xffffffff
mov eax, SysReAllocString
jmp 0x1003d6cd
cmp esi, ebp
ja 0x1003d9fa
mov edi, dword [esp + 0x24]
jb 0x1003d6a0
cmp edi, 0x80000000
jae 0x1003d9fa
mov eax, dword [esp + 0x1c]
cmp esi, eax
ja 0x1003d9fa
mov ecx, dword [esp + 0x18]
jb 0x1003d6ba
cmp edi, ecx
ja 0x1003d9fa
cmp eax, ebp
ja 0x1003d6c6
cmp ecx, 0x80000000
jb 0x1003d6d5
mov ecx, SysReAllocString
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
cmp esi, eax
ja 0x1003d969
jb 0x1003d6e7
cmp edi, ecx
jae 0x1003d969
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.100592b0
add esp, 0x24
test eax, eax
je 0x1003d969
push 0x3f
lea ecx, [esp + 0xb1]
push ebp
push ecx
mov byte [esp + 0xb8], 0
call fcn.101004d0
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 0x1003d75f
mov ebx, dword [esp + 0x18]
ja 0x1003d75b
cmp ecx, ebx
jbe 0x1003d75f
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.101012b0
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 0x1003d7a0
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.1003d410
mov byte [esp + 0xf8], 0
cmp dword [esp + 0x9c], 0x10
jb 0x1003d7fb
mov eax, dword [esp + 0x88]
push eax
call fcn.100ee438
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 0x1003d6e7
ja 0x1003d969
cmp edi, dword [esp + 0x18]
jb 0x1003d6e7
jmp 0x1003d969
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.101022f0
mov edi, eax
add esp, 8
cmp edi, ebp
lea edx, [esp + 0xac]
je 0x1003d8bb
mov ecx, edi
sub ecx, esi
push ecx
push esi
push edx
call fcn.10102380
add esp, 0xc
jmp 0x1003d8cc
mov eax, esi
sub edx, esi
nop
mov cl, byte [eax]
mov byte [eax + edx], cl
add eax, 1
test cl, cl
jne 0x1003d8c0
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 0x1003d8f0
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.1003d410
mov byte [esp + 0xf8], 0
cmp dword [esp + 0x9c], 0x10
jb 0x1003d94b
mov edx, dword [esp + 0x88]
push edx
call fcn.100ee438
add esp, 4
cmp edi, ebp
mov dword [esp + 0x9c], ebx
mov dword [esp + 0x98], ebp
mov byte [esp + 0x88], 0
jne 0x1003d845
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemInfo]
mov eax, dword [esp + 0x44]
cmp eax, ebp
je 0x1003d995
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 0x1003d9a9
mov ebx, ebp
mov dword [esp + 0x2c], ebp
jmp 0x1003d9ad
mov dword [esp + 0x2c], ebx
cmp ebx, 0x40
jl 0x1003d9bb
mov ebx, 0x40
mov dword [esp + 0x2c], ebx
lea edi, [ebx*4]
push edi
call fcn.100ff4c8
add esp, 4
test eax, eax
mov dword [esp + 0x24], eax
je 0x1003d9fa
lea esi, [ebx + ebx*4]
add esi, esi
add esi, esi
add esi, esi
push esi
call fcn.100ff4c8
add esp, 4
test eax, eax
mov dword [esp + 0x14], eax
jne 0x1003da15
mov ecx, dword [esp + 0x24]
push ecx
call fcn.100ff58b
add esp, 4
mov dword [esp + 0xf8], 0xffffffff
lea ecx, [esp + 0x40]
call fcn.1003cfc0
xor eax, eax
jmp 0x1003dd7a
mov edx, dword [esp + 0x24]
push edi
push 0
push edx
call fcn.101004d0
mov eax, dword [esp + 0x20]
push esi
push 0
push eax
call fcn.101004d0
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 0x1003dc41
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x34], ecx
add esi, 0xc
jmp 0x1003da70
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x58]
add eax, 0xffffffff
cmp ebp, eax
lea ebx, [edx + edi - 1]
jne 0x1003da8a
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.1003b440
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.100ff4c8
add esp, 0x10
test eax, eax
mov dword [esi - 4], eax
je 0x1003dbe1
cmp dword [esp + 0x9c], 0x10
mov edx, dword [esp + 0x88]
jae 0x1003db40
lea edx, [esp + 0x88]
jmp 0x1003db40
mov cl, byte [edx]
mov byte [eax], cl
add edx, 1
add eax, 1
test cl, cl
jne 0x1003db40
call fcn.1002d8d0
push 0
push 0
push edi
push 0x10039000
push 0
push 0
mov dword [esp + 0x68], eax
call fcn.10101c4f
mov ecx, dword [esp + 0x68]
mov edi, dword [esp + 0x3c]
push ecx
mov dword [edi + ebp*4], eax
call fcn.1002d970
add esp, 0x1c
cmp dword [edi + ebp*4], 0
je 0x1003dbff
lea edi, [ebx + 1]
mov byte [esp + 0xf8], 0
cmp dword [esp + 0x9c], 0x10
jb 0x1003dba9
mov edx, dword [esp + 0x88]
push edx
call fcn.100ee438
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 0x1003da70
jmp 0x1003dc3d
xor ebp, ebp
mov byte [esp + 0xf8], 0
cmp dword [esp + 0x9c], 0x10
jb 0x1003dc23
mov ecx, dword [esp + 0x88]
push ecx
jmp 0x1003dc1b
xor ebp, ebp
mov byte [esp + 0xf8], 0
cmp dword [esp + 0x9c], 0x10
jb 0x1003dc23
mov edx, dword [esp + 0x88]
push edx
call fcn.100ee438
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 0x1003dcf2
mov eax, dword [esp + 0x24]
push 0xffffffffffffffff
push 1
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_WaitForMultipleObjects]
cmp eax, 0xffffffff
je 0x1003dcf2
xor ebp, ebp
test ebx, ebx
jle 0x1003dced
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 0x1003dcdf
test edi, edi
jle 0x1003dcc4
cmp byte [esi], 0
je 0x1003dc90
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 0x1003dca0
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1003dcb1
mov esi, dword [esp + 0x20]
sub eax, edx
add ebp, eax
jmp 0x1003dce6
mov eax, esi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1003dcd0
sub eax, edx
mov ebp, eax
jmp 0x1003dce6
test edi, edi
jne 0x1003dce6
mov byte [esi], 0
add edi, 1
cmp edi, ebx
jl 0x1003dc6e
mov edi, 1
mov ebp, dword [esp + 0x24]
xor esi, esi
test ebx, ebx
jle 0x1003dd26
mov eax, dword [ebp + esi*4]
test eax, eax
je 0x1003dd1f
push eax
call fcn.10051e70
mov ecx, dword [ebp + esi*4]
push ecx
call fcn.100b0290
add esp, 8
mov dword [ebp + esi*4], 0
add esi, 1
cmp esi, ebx
jl 0x1003dcfc
push ebp
call fcn.100ff58b
add esp, 4
test ebx, ebx
jle 0x1003dd57
mov esi, dword [esp + 0x14]
add esi, 8
lea ebx, [ebx]
mov eax, dword [esi]
test eax, eax
je 0x1003dd4f
push eax
call fcn.100ff58b
add esp, 4
add esi, 0x28
sub ebx, 1
jne 0x1003dd40
mov edx, dword [esp + 0x14]
push edx
call fcn.100ff58b
add esp, 4
mov dword [esp + 0xf8], 0xffffffff
lea ecx, [esp + 0x40]
call fcn.1003cfc0
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.100ffa66
add esp, 0xe8
ret