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

Disassembly:
push 0xffffffffffffffff
push 0x1015c906
mov eax, dword fs:[0]
push eax
sub esp, 0xec
mov eax, dword [0x101b03d4]
xor eax, esp
mov dword [esp + 0xe8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101b03d4]
xor eax, esp
push eax
lea eax, [esp + 0x100]
mov dword fs:[0], eax
mov eax, dword [esp + 0x130]
mov ebx, dword [esp + 0x114]
mov esi, dword [esp + 0x118]
mov dword [esp + 0x80], ebx
mov dword [esp + 0x78], eax
xor ebp, ebp
mov byte [eax], 0
mov edi, edi
mov edi, 1
mov dword [esp + 0x7c], edi
mov al, al
push 0x101654d8
push esi
call fcn.100fb930
add esp, 8
test eax, eax
je 0x10039df9
push 0x101657c8
push esi
call fcn.100fb930
add esp, 8
test eax, eax
jne 0x10039df9
xor edi, edi
mov dword [esp + 0x7c], edi
mov cl, cl
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x108], 1
mov dl, dl
cmp edi, ebp
je 0x1003a0ff
mov eax, dword [esp + 0x110]
cmp dword [eax + 0x32c4], ebp
je 0x10039e31
mov edi, ebx
mov dword [esp + 0x74], ebx
jmp 0x10039e4f
mov dword [esp + 0x20], ebp
mov ch, ch
lea ecx, [esp + 0x20]
push ecx
push ebx
call fcn.100522a0
add esp, 8
mov cl, cl
mov edi, dword [esp + 0x20]
mov dword [esp + 0x74], edi
push ebx
pop ebx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov ebp, ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
nop
mov bl, 0x49
mov dl, 0x36
mov cl, 0x34
mov al, 0x78
mov byte [esp + 0x84], 0x25
mov byte [esp + 0x85], bl
mov byte [esp + 0x86], dl
mov byte [esp + 0x87], cl
mov byte [esp + 0x88], al
mov byte [esp + 0x89], 0x2d
mov byte [esp + 0x8a], 0x25
mov byte [esp + 0x8b], bl
mov byte [esp + 0x8c], dl
mov byte [esp + 0x8d], cl
mov byte [esp + 0x8e], al
mov byte [esp + 0x8f], 0
push edx
pop edx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x8c]
push ecx
push esi
call fcn.100fd75d
add esp, 0x10
mov ch, ch
push edi
call fcn.10055cd0
add esp, 4
xchg ebx, eax
xchg ebx, eax
test al, al
mov esi, dword [esp + 0x30]
je 0x10039f4c
cmp esi, 0x80000000
ja 0x1003a381
mov eax, dword [esp + 0x2c]
jb 0x10039f10
cmp eax, ebp
jae 0x1003a381
mov edx, dword [esp + 0x28]
cmp esi, edx
ja 0x1003a381
mov ecx, dword [esp + 0x24]
jb 0x10039f2a
cmp eax, ecx
ja 0x1003a381
cmp edx, 0x80000000
jb 0x10039fa1
ja 0x10039f38
cmp ecx, ebp
jb 0x10039fa1
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0x28], SysReAllocStringLen
mov edi, edi
jmp 0x10039f99
cmp esi, ebp
ja 0x1003a381
mov eax, dword [esp + 0x2c]
jb 0x10039f65
cmp eax, 0x80000000
jae 0x1003a381
mov edx, dword [esp + 0x28]
cmp esi, edx
ja 0x1003a381
mov ecx, dword [esp + 0x24]
jb 0x10039f7f
cmp eax, ecx
ja 0x1003a381
cmp edx, ebp
ja 0x10039f8b
cmp ecx, 0x80000000
jb 0x10039fa1
mov dword [esp + 0x24], SysReAllocStringLen
mov dword [esp + 0x28], ebp
mov ecx, ecx
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x30]
mov ebp, eax
push eax
pop eax
cmp esi, dword [esp + 0x28]
ja 0x1003a2e5
jb 0x10039fbb
cmp ebp, dword [esp + 0x24]
jae 0x1003a2e5
mov ebx, dword [esp + 0x74]
nop
push eax
pop eax
mov bh, bh
push 0
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x74]
push edx
lea eax, [esp + 0x80]
push eax
push esi
push ebp
push ebx
call fcn.100569e0
add esp, 0x24
test eax, eax
je 0x1003a2e5
push 0x3f
lea ecx, [esp + 0xc1]
push 0
push ecx
mov byte [esp + 0xc8], 0
call fcn.100fbc20
add esp, 0xc
push edx
pop edx
mov ecx, dword [esp + 0x6c]
add ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x70]
adc eax, dword [esp + 0x68]
add ecx, 0xffffffff
adc eax, 0xffffffff
push eax
pop eax
mov edx, dword [esp + 0x28]
cmp eax, edx
jb 0x1003a043
mov edi, dword [esp + 0x24]
ja 0x1003a03d
cmp ecx, edi
jbe 0x1003a043
mov ecx, edi
mov eax, edx
mov eax, eax
push eax
push ecx
push esi
push ebp
lea edx, [esp + 0x94]
push edx
lea eax, [esp + 0xd0]
push eax
call fcn.100fca00
add esp, 0x18
mov esi, esi
lea ecx, [esp + 0x63]
push ecx
lea edx, [esp + 0xc0]
push edx
lea ecx, [esp + 0xa4]
call fcn.100091f0
mov byte [esp + 0x108], 2
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x1c]
lea ecx, [esp + 0x63]
lea edx, [esp + 0x9c]
je 0x1003a0a9
push ecx
push edx
push eax
call fcn.100380a0
add esp, 0xc
add dword [esp + 0x18], 0x18
jmp 0x1003a0b9
push 1
push 1
push ecx
push edx
push eax
lea ecx, [esp + 0x28]
call fcn.10039ca0
mov byte [esp + 0x108], 1
lea ecx, [esp + 0x9c]
call fcn.100068e0
nop
mov ebp, dword [esp + 0x6c]
add ebp, dword [esp + 0x64]
mov esi, dword [esp + 0x70]
adc esi, dword [esp + 0x68]
push eax
pop eax
cmp esi, dword [esp + 0x28]
jb 0x10039fc0
ja 0x1003a2e5
cmp ebp, dword [esp + 0x24]
jb 0x10039fc0
jmp 0x1003a2e5
mov edi, esi
mov cl, cl
mov dl, dl
jmp 0x1003a112
xor ebp, ebp
xor eax, eax
mov byte [esp + 0x9c], 0
mov dword [esp + 0x9d], eax
mov dword [esp + 0xa1], eax
mov dword [esp + 0xa5], eax
mov dword [esp + 0xa9], eax
mov dword [esp + 0xad], eax
mov dword [esp + 0xb1], eax
mov dword [esp + 0xb5], eax
mov word [esp + 0xb9], ax
mov byte [esp + 0xbb], al
mov esi, esi
push 0x101654d8
push edi
call fcn.100fb930
add esp, 8
mov ebx, eax
nop
cmp ebx, ebp
je 0x1003a18b
sub eax, edi
push eax
lea ecx, [esp + 0xa0]
push edi
push ecx
call fcn.100fdce0
add esp, 0xc
mov esi, esi
jmp 0x1003a1a3
lea edx, [esp + 0x9c]
mov eax, edi
sub edx, edi
mov cl, byte [eax]
mov byte [eax + edx], cl
add eax, 1
test cl, cl
jne 0x1003a196
nop
lea edi, [ebx + 1]
mov esi, esi
lea edx, [esp + 0x84]
mov eax, edx
mov dword [esp + 0x94], edx
mov dword [esp + 0x98], eax
mov byte [esp + 0x108], 3
lea eax, [esp + 0x9c]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1003a1d1
sub eax, edx
lea ebp, [esp + eax + 0x9c]
mov esi, ebp
lea ecx, [esp + 0x9c]
sub esi, ecx
lea eax, [esi + 1]
cmp eax, 0xffffffff
mov dword [esp + 0x74], eax
ja 0x1003a703
test eax, eax
jbe 0x1003a703
cmp eax, 0x10
jbe 0x1003a23b
lea edx, [esp + 0x74]
push edx
push eax
lea ecx, [esp + 0xa0]
call fcn.10008fb0
mov dword [esp + 0x98], eax
mov ecx, dword [esp + 0x74]
lea edx, [eax + ecx]
mov dword [esp + 0x94], eax
mov dword [esp + 0x84], edx
jmp 0x1003a242
mov eax, dword [esp + 0x98]
lea ecx, [esp + 0x9c]
cmp ebp, ecx
je 0x1003a25c
push esi
mov edx, ecx
push edx
push eax
call fcn.100fd070
add esp, 0xc
add eax, esi
mov dword [esp + 0x94], eax
mov byte [eax], 0
mov byte [esp + 0x108], 4
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x1c]
je 0x1003a2aa
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], eax
mov byte [esp + 0x108], 5
test eax, eax
je 0x1003a29b
lea ecx, [esp + 0x84]
push ecx
mov ecx, eax
call fcn.10009270
mov byte [esp + 0x108], 4
add dword [esp + 0x18], 0x18
jmp 0x1003a2c5
push 1
push 1
lea edx, [esp + 0x6b]
push edx
lea ecx, [esp + 0x90]
push ecx
push eax
lea ecx, [esp + 0x28]
call fcn.10039ca0
mov byte [esp + 0x108], 1
lea ecx, [esp + 0x84]
call fcn.100068e0
mov bh, bh
test ebx, ebx
jne 0x1003a110
xchg ebx, eax
xchg ebx, eax
mov ah, ah
lea edx, [esp + 0x3c]
push edx
call dword [sym.imp.KERNEL32.DLL_GetSystemInfo]
nop
mov ecx, dword [esp + 0x18]
sub ecx, dword [esp + 0x14]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov ebp, edx
shr ebp, 0x1f
add ebp, edx
mov dword [esp + 0x2c], ebp
mov ebx, ebx
xchg ebx, eax
xchg ebx, eax
mov ebx, dword [esp + 0x50]
cmp ebp, ebx
jae 0x1003a326
mov ebx, ebp
mov dword [esp + 0x20], ebp
push edx
pop edx
jmp 0x1003a32c
mov dword [esp + 0x20], ebx
mov ah, ah
cmp ebx, 0x40
jl 0x1003a33c
mov ebx, 0x40
mov dword [esp + 0x20], ebx
xchg ebx, eax
xchg ebx, eax
lea edi, [ebx*4]
push edi
call fcn.100fab8c
add esp, 4
mov dword [esp + 0x34], eax
mov edx, edx
test eax, eax
je 0x1003a381
lea esi, [ebx + ebx*4]
add esi, esi
add esi, esi
add esi, esi
push esi
call fcn.100fab8c
add esp, 4
mov dword [esp + 0x38], eax
push ebx
pop ebx
test eax, eax
jne 0x1003a3bf
mov eax, dword [esp + 0x34]
push eax
call fcn.100fac4f
add esp, 4
mov edx, edx
mov dword [esp + 0x108], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.100399a0
xor eax, eax
mov ecx, dword [esp + 0x100]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xe8]
xor ecx, esp
call fcn.100fb12a
add esp, 0xf8
ret
mov ecx, dword [esp + 0x34]
push edi
push 0
push ecx
call fcn.100fbc20
add esp, 0xc
push ebx
pop ebx
mov edx, dword [esp + 0x38]
push esi
push 0
push edx
call fcn.100fbc20
add esp, 0xc
xchg ebx, eax
xchg ebx, eax
xor edi, edi
mov al, al
mov eax, ebp
xor edx, edx
div ebx
mov dword [esp + 0x6c], eax
push ecx
pop ecx
mov eax, dword [esp + 0x134]
xor edx, edx
div ebx
mov dword [esp + 0x64], eax
mov ebx, ebx
xchg ebx, eax
xchg ebx, eax
xor ebp, ebp
test ebx, ebx
jle 0x1003a5ab
mov eax, dword [esp + 0x78]
mov esi, dword [esp + 0x38]
mov dword [esp + 0x74], eax
add esi, 0xc
nop
push edx
pop edx
mov ecx, dword [esp + 0x6c]
lea ebx, [edi + ecx - 1]
mov esi, esi
mov eax, dword [esp + 0x20]
add eax, 0xffffffff
cmp ebp, eax
jne 0x1003a440
mov ebx, dword [esp + 0x2c]
add ebx, 0xffffffff
push edx
pop edx
mov edx, dword [esp + 0x7c]
mov eax, ebx
push edx
sub eax, edi
add eax, 1
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ecx, edi
lea edx, [esp + 0x90]
call fcn.10038970
add esp, 0xc
mov byte [esp + 0x108], 6
push ebx
pop ebx
mov edx, dword [esp + 0x110]
lea edi, [esi - 0xc]
mov dword [edi], edx
mov al, al
mov eax, dword [esp + 0x80]
mov dword [esi - 8], eax
push ebx
pop ebx
mov ecx, dword [esp + 0x11c]
mov dword [esi], ecx
nop
mov edx, dword [esp + 0x120]
mov dword [esi + 4], edx
mov edx, edx
mov eax, dword [esp + 0x124]
mov dword [esi + 8], eax
push ecx
pop ecx
mov ecx, dword [esp + 0x128]
mov dword [esi + 0xc], ecx
push edx
pop edx
mov edx, dword [esp + 0x12c]
mov dword [esi + 0x10], edx
mov dh, dh
mov eax, dword [esp + 0x74]
mov dword [esi + 0x14], eax
mov edi, edi
mov ecx, dword [esp + 0x64]
mov dword [esi + 0x18], ecx
mov ebx, ebx
mov edx, dword [esp + 0x94]
sub edx, dword [esp + 0x98]
add edx, 1
push edx
call fcn.100fab8c
add esp, 4
mov dword [esi - 4], eax
nop
mov eax, dword [esi - 4]
test eax, eax
je 0x1003a589
mov edx, dword [esp + 0x98]
mov cl, byte [edx]
mov byte [eax], cl
add edx, 1
add eax, 1
test cl, cl
jne 0x1003a503
mov dh, dh
call fcn.10029cc0
mov dword [esp + 0x24], eax
xchg ebx, eax
xchg ebx, eax
mov ah, ah
push 0
push 0
push edi
push 0x10035e30
push 0
push 0
call fcn.100fd647
add esp, 0x18
mov edi, edi
mov edi, dword [esp + 0x34]
mov dword [edi + ebp*4], eax
mov ebp, ebp
mov eax, dword [esp + 0x24]
push eax
call fcn.10029d80
add esp, 4
mov dh, dh
cmp dword [edi + ebp*4], 0
je 0x1003a58f
lea edi, [ebx + 1]
mov edi, edi
mov byte [esp + 0x108], 1
lea ecx, [esp + 0x84]
call fcn.100068e0
mov ecx, dword [esp + 0x64]
add dword [esp + 0x74], ecx
add ebp, 1
add esi, 0x28
cmp ebp, dword [esp + 0x20]
jl 0x1003a420
jmp 0x1003a5a7
xor ebp, ebp
mov cl, cl
jmp 0x1003a593
xor ebp, ebp
mov esi, esi
mov byte [esp + 0x108], 1
lea ecx, [esp + 0x84]
call fcn.100068e0
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x78]
xor edi, edi
mov dh, dh
cmp ebp, ebx
jne 0x1003a669
mov edx, dword [esp + 0x34]
push 0xffffffffffffffff
push 1
push edx
push ebx
call dword [sym.imp.KERNEL32.DLL_WaitForMultipleObjects]
mov dl, dl
cmp eax, 0xffffffff
je 0x1003a669
xor ebp, ebp
mov edi, edi
test ebx, ebx
jle 0x1003a662
mov ecx, dword [esp + 0x38]
lea eax, [edi + edi*4]
mov edx, dword [ecx + eax*8 + 0x20]
cmp byte [edx], 0
lea eax, [ecx + eax*8 + 0x20]
je 0x1003a652
test edi, edi
jle 0x1003a63c
cmp byte [esi], 0
je 0x1003a60a
mov byte [esi + ebp], 0x7c
mov ebx, ebx
add ebp, 1
mov bl, bl
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 0x1003a614
mov cl, cl
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1003a627
sub eax, edx
add ebp, eax
mov edx, edx
mov esi, dword [esp + 0x78]
jmp 0x1003a65b
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1003a641
sub eax, edx
mov ebp, eax
push ecx
pop ecx
jmp 0x1003a65b
test edi, edi
jne 0x1003a65b
mov byte [esi], 0
mov ah, ah
add edi, 1
cmp edi, ebx
jl 0x1003a5e2
mov edi, 1
xchg ebx, eax
xchg ebx, eax
mov ebp, dword [esp + 0x34]
xor esi, esi
test ebx, ebx
jle 0x1003a6a6
mov eax, dword [ebp + esi*4]
test eax, eax
je 0x1003a69f
push eax
call fcn.1004fbe0
add esp, 4
mov dh, dh
mov ecx, dword [ebp + esi*4]
push ecx
call fcn.100ac7c0
add esp, 4
mov bh, bh
mov dword [ebp + esi*4], 0
mov bl, bl
add esi, 1
cmp esi, ebx
jl 0x1003a673
push ebp
call fcn.100fac4f
add esp, 4
mov cl, cl
test ebx, ebx
jle 0x1003a6d9
mov esi, dword [esp + 0x38]
add esi, 8
lea esp, [esp]
mov eax, dword [esi]
test eax, eax
je 0x1003a6d1
push eax
call fcn.100fac4f
add esp, 4
push ebx
pop ebx
add esi, 0x28
sub ebx, 1
jne 0x1003a6c0
mov edx, dword [esp + 0x38]
push edx
call fcn.100fac4f
add esp, 4
mov al, al
mov dword [esp + 0x108], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.100399a0
mov eax, edi
jmp 0x1003a397
push 0x101654c0
call fcn.100e9a30