Function at 0x1003a167
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
cmp dword [ebp + 8], 0
jne 0x1003a17b
mov eax, dword [ebp + 8]
jmp 0x1003a387
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
cmp dword [ebp + 0xc], 0
jne 0x1003a35a
mov eax, dword [ebp + 0x10]
shr eax, 2
mov dword [ebp - 0x2c], eax
and dword [ebp - 0x24], 0
jmp 0x1003a1a1
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x2c]
jae 0x1003a282
mov eax, dword [ebp - 8]
and dword [eax], 0
mov dword [ebp - 0x30], 0x7eb4
mov dword [ebp - 0x3c], str.bcxsyrusc_bggf_pnrgssq_diwrjqr_tvnphi_dgc_wqfrfm_wcsnvce_isrum_ecmbhcqvk_oqcdqcxja_umla
cmp dword [ebp - 0x30], 0x822a
jle 0x1003a262
and dword [ebp - 0xc], 0
jmp 0x1003a1db
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x17f9
jge 0x1003a250
and dword [ebp - 0x10], 0
jmp 0x1003a1f1
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x64d0
jge 0x1003a24e
and dword [ebp - 0x14], 0
jmp 0x1003a207
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x4a05
jge 0x1003a24c
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x14]
cdq
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], edx
push dword [ebp - 0x48]
push dword [ebp - 0x4c]
lea ecx, [ebp - 0x6c]
call fcn.100019c5
pop ecx
pop ecx
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
call fcn.1000c213
push eax
call fcn.10048abc
pop ecx
lea ecx, [ebp - 0x6c]
call fcn.1000c209
jmp 0x1003a200
jmp 0x1003a1ea
jmp 0x1003a1d4
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, dword [ebp - 8]
add eax, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 0x30], 0x7e4e
jge 0x1003a27d
push dword [ebp - 0x3c]
call fcn.10048abc
pop ecx
jmp 0x1003a19a
mov eax, dword [ebp + 0x10]
xor edx, edx
push 4
pop ecx
div ecx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x34], 0xb81
mov dword [ebp - 0x40], str.cifarvrx_ohgpk_foip_uejul_ldm_tvqion_hlfy
cmp dword [ebp - 0x34], 0xbbe
jle 0x1003a31e
push 0
push 0
push 0
push 0
call dword [sym.imp.GDI32.dll_CreateICA]
and dword [ebp - 0x18], 0
jmp 0x1003a2c1
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x2423
jge 0x1003a31e
and dword [ebp - 0x1c], 0
jmp 0x1003a2d7
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x1910
jge 0x1003a31c
and dword [ebp - 0x20], 0
jmp 0x1003a2ed
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x546e
jge 0x1003a31a
mov eax, dword [ebp - 0x18]
imul eax, dword [ebp - 0x1c]
imul eax, dword [ebp - 0x20]
cdq
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], edx
push dword [ebp - 0x50]
push dword [ebp - 0x54]
mov ecx, 0x10075b78
call fcn.1000c233
jmp 0x1003a2e6
jmp 0x1003a2d0
jmp 0x1003a2ba
and dword [ebp - 0x28], 0
jmp 0x1003a32b
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x2c]
jae 0x1003a342
mov eax, dword [ebp - 8]
mov byte [eax], 0
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
jmp 0x1003a324
cmp dword [ebp - 0x34], 0x8a7
jge 0x1003a358
mov edx, dword [ebp - 0x40]
mov ecx, 0x10075b78
call fcn.1000e4aa
jmp 0x1003a384
mov al, byte [ebp + 0xc]
mov byte [ebp - 1], al
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x10]
dec eax
mov dword [ebp + 0x10], eax
cmp dword [ebp - 0x44], 0
je 0x1003a384
mov eax, dword [ebp - 8]
mov cl, byte [ebp - 1]
mov byte [eax], cl
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
jmp 0x1003a360
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret