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

Disassembly:
push 0xffffffffffffffff
push 0x1015ddc6
mov eax, dword fs:[0]
push eax
sub esp, 0xec
mov eax, dword [0x101b23cc]
xor eax, esp
mov dword [esp + 0xe8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101b23cc]
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
nop
mov edi, 1
mov dword [esp + 0x7c], edi
push ecx
pop ecx
push 0x101664f0
push esi
call fcn.100fcca0
add esp, 8
test eax, eax
je 0x1003a878
push 0x101667e0
push esi
call fcn.100fcca0
add esp, 8
test eax, eax
jne 0x1003a878
xor edi, edi
mov dword [esp + 0x7c], edi
mov esi, esi
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x108], 1
mov al, al
cmp edi, ebp
je 0x1003ab80
mov eax, dword [esp + 0x110]
cmp dword [eax + 0x32c4], ebp
je 0x1003a8b0
mov edi, ebx
mov dword [esp + 0x74], ebx
jmp 0x1003a8ce
mov dword [esp + 0x20], ebp
mov cl, cl
lea ecx, [esp + 0x20]
push ecx
push ebx
call fcn.10052920
add esp, 8
mov dh, dh
mov edi, dword [esp + 0x20]
mov dword [esp + 0x74], edi
push edx
pop edx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dl, dl
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov ebx, ebx
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 ebx
pop ebx
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x8c]
push ecx
push esi
call fcn.100feacd
add esp, 0x10
mov edi, edi
push edi
call fcn.100567a0
add esp, 4
mov edx, edx
test al, al
mov esi, dword [esp + 0x30]
je 0x1003a9cc
cmp esi, 0x80000000
ja 0x1003ae03
mov eax, dword [esp + 0x2c]
jb 0x1003a990
cmp eax, ebp
jae 0x1003ae03
mov edx, dword [esp + 0x28]
cmp esi, edx
ja 0x1003ae03
mov ecx, dword [esp + 0x24]
jb 0x1003a9aa
cmp eax, ecx
ja 0x1003ae03
cmp edx, 0x80000000
jb 0x1003aa21
ja 0x1003a9b8
cmp ecx, ebp
jb 0x1003aa21
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0x28], SysReAllocStringLen
mov esi, esi
jmp 0x1003aa19
cmp esi, ebp
ja 0x1003ae03
mov eax, dword [esp + 0x2c]
jb 0x1003a9e5
cmp eax, 0x80000000
jae 0x1003ae03
mov edx, dword [esp + 0x28]
cmp esi, edx
ja 0x1003ae03
mov ecx, dword [esp + 0x24]
jb 0x1003a9ff
cmp eax, ecx
ja 0x1003ae03
cmp edx, ebp
ja 0x1003aa0b
cmp ecx, 0x80000000
jb 0x1003aa21
mov dword [esp + 0x24], SysReAllocStringLen
mov dword [esp + 0x28], ebp
mov eax, eax
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x30]
mov ebp, eax
mov ecx, ecx
cmp esi, dword [esp + 0x28]
ja 0x1003ad67
jb 0x1003aa3b
cmp ebp, dword [esp + 0x24]
jae 0x1003ad67
mov ebx, dword [esp + 0x74]
nop
mov dl, dl
mov ah, ah
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.10057470
add esp, 0x24
test eax, eax
je 0x1003ad67
push 0x3f
lea ecx, [esp + 0xc1]
push 0
push ecx
mov byte [esp + 0xc8], 0
call fcn.100fcf90
add esp, 0xc
mov al, al
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
mov dh, dh
mov edx, dword [esp + 0x28]
cmp eax, edx
jb 0x1003aac3
mov edi, dword [esp + 0x24]
ja 0x1003aabd
cmp ecx, edi
jbe 0x1003aac3
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.100fdd70
add esp, 0x18
mov dl, dl
lea ecx, [esp + 0x63]
push ecx
lea edx, [esp + 0xc0]
push edx
lea ecx, [esp + 0xa4]
call fcn.100095d0
mov byte [esp + 0x108], 2
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x1c]
lea ecx, [esp + 0x63]
lea edx, [esp + 0x9c]
je 0x1003ab29
push ecx
push edx
push eax
call fcn.10038b20
add esp, 0xc
add dword [esp + 0x18], 0x18
jmp 0x1003ab39
push 1
push 1
push ecx
push edx
push eax
lea ecx, [esp + 0x28]
call fcn.1003a720
mov byte [esp + 0x108], 1
lea ecx, [esp + 0x9c]
call fcn.10006900
mov edx, edx
mov ebp, dword [esp + 0x6c]
add ebp, dword [esp + 0x64]
mov esi, dword [esp + 0x70]
adc esi, dword [esp + 0x68]
mov al, al
cmp esi, dword [esp + 0x28]
jb 0x1003aa40
ja 0x1003ad67
cmp ebp, dword [esp + 0x24]
jb 0x1003aa40
jmp 0x1003ad67
mov edi, esi
mov ebx, ebx
push ecx
pop ecx
jmp 0x1003ab92
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 al, al
push 0x101664f0
push edi
call fcn.100fcca0
add esp, 8
mov ebx, eax
mov edi, edi
cmp ebx, ebp
je 0x1003ac0c
sub eax, edi
push eax
lea ecx, [esp + 0xa0]
push edi
push ecx
call fcn.100ff050
add esp, 0xc
mov cl, cl
jmp 0x1003ac25
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 0x1003ac17
push ecx
pop ecx
lea edi, [ebx + 1]
push ebx
pop ebx
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 0x1003ac53
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 0x1003b193
test eax, eax
jbe 0x1003b193
cmp eax, 0x10
jbe 0x1003acbd
lea edx, [esp + 0x74]
push edx
push eax
lea ecx, [esp + 0xa0]
call fcn.10009000
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 0x1003acc4
mov eax, dword [esp + 0x98]
lea ecx, [esp + 0x9c]
cmp ebp, ecx
je 0x1003acde
push esi
mov edx, ecx
push edx
push eax
call fcn.100fe3e0
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 0x1003ad2c
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], eax
mov byte [esp + 0x108], 5
test eax, eax
je 0x1003ad1d
lea ecx, [esp + 0x84]
push ecx
mov ecx, eax
call fcn.10009650
mov byte [esp + 0x108], 4
add dword [esp + 0x18], 0x18
jmp 0x1003ad47
push 1
push 1
lea edx, [esp + 0x6b]
push edx
lea ecx, [esp + 0x90]
push ecx
push eax
lea ecx, [esp + 0x28]
call fcn.1003a720
mov byte [esp + 0x108], 1
lea ecx, [esp + 0x84]
call fcn.10006900
push edx
pop edx
test ebx, ebx
jne 0x1003ab90
mov ebp, ebp
mov dl, dl
lea edx, [esp + 0x3c]
push edx
call dword [sym.imp.KERNEL32.DLL_GetSystemInfo]
mov ebx, ebx
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
nop
push ebx
pop ebx
mov ebx, dword [esp + 0x50]
cmp ebp, ebx
jae 0x1003ada8
mov ebx, ebp
mov dword [esp + 0x20], ebp
mov cl, cl
jmp 0x1003adae
mov dword [esp + 0x20], ebx
mov ebx, ebx
cmp ebx, 0x40
jl 0x1003adbe
mov ebx, 0x40
mov dword [esp + 0x20], ebx
mov ebp, ebp
lea edi, [ebx*4]
push edi
call fcn.100fbefc
add esp, 4
mov dword [esp + 0x34], eax
push eax
pop eax
test eax, eax
je 0x1003ae03
lea esi, [ebx + ebx*4]
add esi, esi
add esi, esi
add esi, esi
push esi
call fcn.100fbefc
add esp, 4
mov dword [esp + 0x38], eax
mov dl, dl
test eax, eax
jne 0x1003ae41
mov eax, dword [esp + 0x34]
push eax
call fcn.100fbfbf
add esp, 4
mov dl, dl
mov dword [esp + 0x108], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.1003a420
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.100fc49a
add esp, 0xf8
ret
mov ecx, dword [esp + 0x34]
push edi
push 0
push ecx
call fcn.100fcf90
add esp, 0xc
mov ecx, ecx
mov edx, dword [esp + 0x38]
push esi
push 0
push edx
call fcn.100fcf90
add esp, 0xc
mov bh, bh
xor edi, edi
mov cl, cl
mov eax, ebp
xor edx, edx
div ebx
mov dword [esp + 0x6c], eax
mov ecx, ecx
mov eax, dword [esp + 0x134]
xor edx, edx
div ebx
mov dword [esp + 0x64], eax
mov edi, edi
mov ebx, ebx
xor ebp, ebp
test ebx, ebx
jle 0x1003b02e
mov eax, dword [esp + 0x78]
mov esi, dword [esp + 0x38]
mov dword [esp + 0x74], eax
add esi, 0xc
mov dh, dh
mov ecx, dword [esp + 0x6c]
lea ebx, [edi + ecx - 1]
push edx
pop edx
mov eax, dword [esp + 0x20]
add eax, 0xffffffff
cmp ebp, eax
jne 0x1003aec1
mov ebx, dword [esp + 0x2c]
add ebx, 0xffffffff
mov dh, dh
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.100393f0
add esp, 0xc
mov byte [esp + 0x108], 6
mov ch, ch
mov edx, dword [esp + 0x110]
lea edi, [esi - 0xc]
mov dword [edi], edx
mov edi, edi
mov eax, dword [esp + 0x80]
mov dword [esi - 8], eax
mov edi, edi
mov ecx, dword [esp + 0x11c]
mov dword [esi], ecx
mov esi, esi
mov edx, dword [esp + 0x120]
mov dword [esi + 4], edx
mov dl, dl
mov eax, dword [esp + 0x124]
mov dword [esi + 8], eax
push edx
pop edx
mov ecx, dword [esp + 0x128]
mov dword [esi + 0xc], ecx
mov ch, ch
mov edx, dword [esp + 0x12c]
mov dword [esi + 0x10], edx
push ecx
pop ecx
mov eax, dword [esp + 0x74]
mov dword [esi + 0x14], eax
push ecx
pop ecx
mov ecx, dword [esp + 0x64]
mov dword [esi + 0x18], ecx
mov ebp, ebp
mov edx, dword [esp + 0x94]
sub edx, dword [esp + 0x98]
add edx, 1
push edx
call fcn.100fbefc
add esp, 4
mov dword [esi - 4], eax
mov ch, ch
mov eax, dword [esi - 4]
test eax, eax
je 0x1003b00c
mov edx, dword [esp + 0x98]
mov cl, byte [edx]
mov byte [eax], cl
add edx, 1
add eax, 1
test cl, cl
jne 0x1003af86
xchg ebx, eax
xchg ebx, eax
call fcn.1002a6e0
mov dword [esp + 0x24], eax
mov eax, eax
push eax
pop eax
push 0
push 0
push edi
push 0x10036860
push 0
push 0
call fcn.100fe9b7
add esp, 0x18
mov edx, edx
mov edi, dword [esp + 0x34]
mov dword [edi + ebp*4], eax
mov ecx, ecx
mov eax, dword [esp + 0x24]
push eax
call fcn.1002a7a0
add esp, 4
mov ah, ah
cmp dword [edi + ebp*4], 0
je 0x1003b012
lea edi, [ebx + 1]
mov ecx, ecx
mov byte [esp + 0x108], 1
lea ecx, [esp + 0x84]
call fcn.10006900
mov ecx, dword [esp + 0x64]
add dword [esp + 0x74], ecx
add ebp, 1
add esi, 0x28
cmp ebp, dword [esp + 0x20]
jl 0x1003aea1
jmp 0x1003b02a
xor ebp, ebp
mov bl, bl
jmp 0x1003b016
xor ebp, ebp
mov eax, eax
mov byte [esp + 0x108], 1
lea ecx, [esp + 0x84]
call fcn.10006900
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x78]
xor edi, edi
push eax
pop eax
cmp ebp, ebx
jne 0x1003b0fb
mov edx, dword [esp + 0x34]
push 0xffffffffffffffff
push 1
push edx
push ebx
call dword [sym.imp.KERNEL32.DLL_WaitForMultipleObjects]
mov ecx, ecx
cmp eax, 0xffffffff
je 0x1003b0fb
xor ebp, ebp
mov dh, dh
test ebx, ebx
jle 0x1003b0f5
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 0x1003b0e1
test edi, edi
jle 0x1003b0c5
cmp byte [esi], 0
je 0x1003b08d
mov byte [esi + ebp], 0x7c
mov al, al
add ebp, 1
mov bh, bh
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 0x1003b097
nop
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1003b0b0
sub eax, edx
add ebp, eax
mov ebx, ebx
mov esi, dword [esp + 0x78]
jmp 0x1003b0ea
mov eax, esi
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1003b0d0
sub eax, edx
mov ebp, eax
push eax
pop eax
jmp 0x1003b0ea
test edi, edi
jne 0x1003b0ea
mov byte [esi], 0
push edx
pop edx
add edi, 1
cmp edi, ebx
jl 0x1003b065
mov edi, 1
nop
mov ebp, dword [esp + 0x34]
xor esi, esi
test ebx, ebx
jle 0x1003b138
mov eax, dword [ebp + esi*4]
test eax, eax
je 0x1003b131
push eax
call fcn.10050260
add esp, 4
push ebx
pop ebx
mov ecx, dword [ebp + esi*4]
push ecx
call fcn.100ada90
add esp, 4
mov cl, cl
mov dword [ebp + esi*4], 0
mov dl, dl
add esi, 1
cmp esi, ebx
jl 0x1003b105
push ebp
call fcn.100fbfbf
add esp, 4
mov edi, edi
test ebx, ebx
jle 0x1003b169
mov esi, dword [esp + 0x38]
add esi, 8
mov edi, edi
mov eax, dword [esi]
test eax, eax
je 0x1003b161
push eax
call fcn.100fbfbf
add esp, 4
mov edi, edi
add esi, 0x28
sub ebx, 1
jne 0x1003b150
mov edx, dword [esp + 0x38]
push edx
call fcn.100fbfbf
add esp, 4
push edx
pop edx
mov dword [esp + 0x108], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.1003a420
mov eax, edi
jmp 0x1003ae19
push 0x101664d8
call fcn.100eada0