Function at 0x1003efdb
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1005f962
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x88
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1003f361
lea eax, [ebp + 0xc]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x84], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x64], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
movzx eax, byte [eax]
test eax, eax
je 0x1003f25b
mov dword [ebp - 0x30], 0x4e9e
mov dword [ebp - 0x5c], str.yzo_wbnzck_eqz_hknoxfpwe_xcnsletk_mctvsto_qrismqkb_bloesu_lxcfjhne_qvag_fepqovyic_ywcjum
cmp dword [ebp - 0x30], 0x4f71
jle 0x1003f0bf
push 0
push 0
push 0x161e
push 0
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
and dword [ebp - 0x28], 0
jmp 0x1003f070
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x170
jge 0x1003f0bf
and dword [ebp - 0x20], 0
jmp 0x1003f086
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x4f4b
jge 0x1003f0bd
mov eax, dword [ebp - 0x28]
cdq
idiv dword [ebp - 0x20]
mov eax, edx
cdq
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], edx
push dword [ebp - 0x8c]
push dword [ebp - 0x90]
mov ecx, 0x10079158
call fcn.1000e4b2
jmp 0x1003f07f
jmp 0x1003f069
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x40], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x30], 0x4e1f
jge 0x1003f0df
mov edx, dword [ebp - 0x5c]
mov ecx, 0x10079158
call fcn.10012e6f
jmp 0x1003f0fb
or dword [ebp - 4], 0xffffffff
jmp 0x1003f105
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x3c], eax
mov eax, dword [0x1039e1b8]
and eax, 1
jne 0x1003f154
mov eax, dword [0x1039e1b8]
or eax, 1
mov dword [0x1039e1b8], eax
mov dword [ebp - 4], 2
mov ecx, 0x1039e198
call fcn.1000e946
push 0x1005fbb2
call fcn.10045e89
pop ecx
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x48]
imul eax, dword [eax], 0x3e8
mov ecx, dword [ebp - 0x40]
add eax, dword [ecx]
mov dword [ebp - 0x34], eax
movzx eax, byte [0x1039cca0]
test eax, eax
je 0x1003f1c9
mov ecx, 0x1039e198
call fcn.1003f4ed
movzx eax, al
test eax, eax
jne 0x1003f1c9
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
push eax
mov ecx, 0x1039e198
call fcn.1000e91e
lea eax, [ebp - 0x98]
push eax
mov ecx, 0x1039e198
call fcn.1000e910
push eax
lea ecx, [ebp - 0x38]
call fcn.1000e933
movzx eax, al
test eax, eax
je 0x1003f1c9
lea ecx, [ebp - 0x38]
call fcn.1003f4f6
mov ecx, dword [ebp - 0x3c]
mov eax, dword [eax + 4]
mov dword [ecx], eax
jmp 0x1003f39d
push dword [ebp - 0x48]
call fcn.10035066
pop ecx
mov dword [ebp - 0x6c], eax
push 1
mov eax, dword [ebp - 0x40]
push dword [eax]
push 0
push dword [ebp - 0x6c]
call fcn.1003b05f
add esp, 0x10
mov dword [ebp - 0x44], eax
movzx eax, byte [0x1039cca0]
test eax, eax
je 0x1003f208
mov ecx, 0x1039e198
call fcn.1003f4ed
movzx eax, al
test eax, eax
jne 0x1003f249
push 1
lea eax, [ebp - 0x44]
push eax
push 0x1285
lea eax, [ebp - 0x34]
push eax
push 0x1039e198
call fcn.1003ec48
add esp, 0x14
push 0x1039cca0
push 0xf2
push 1
push 0x2c8d
push 1
push 0x4fe
push 0x5ec3
call fcn.1003ecd0
add esp, 0x1c
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x44]
mov dword [eax], ecx
jmp 0x1003f39d
mov dword [ebp - 0x4c], 0x6905
mov dword [ebp - 0x88], str.adld_trtghlo_tbzg_ghtieqo_qmp
cmp dword [ebp - 0x4c], 0x6bb1
jle 0x1003f305
and dword [ebp - 0x18], 0
jmp 0x1003f286
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x291
jge 0x1003f305
and dword [ebp - 0x1c], 0
jmp 0x1003f29c
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x3157
jge 0x1003f300
and dword [ebp - 0x24], 0
jmp 0x1003f2b2
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x1c09
jge 0x1003f2fe
and dword [ebp - 0x2c], 0
jmp 0x1003f2c8
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x994
jge 0x1003f2fc
mov eax, dword [ebp - 0x18]
imul eax, dword [ebp - 0x1c]
cdq
idiv dword [ebp - 0x24]
mov ecx, dword [ebp - 0x2c]
sar edx, cl
mov eax, edx
cdq
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], edx
push dword [ebp - 0x7c]
push dword [ebp - 0x80]
mov ecx, 0x10079158
call fcn.1000e4b2
jmp 0x1003f2c1
jmp 0x1003f2ab
jmp 0x1003f295
jmp 0x1003f27f
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x1003f319
push 0
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov dword [ebp - 4], 3
cmp dword [ebp - 0x4c], 0x65a6
jge 0x1003f339
mov edx, dword [ebp - 0x88]
mov ecx, 0x10079158
call fcn.10012e6f
jmp 0x1003f355
or dword [ebp - 4], 0xffffffff
jmp 0x1003f35f
jmp 0x1003f39d
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0x54], eax
push dword [ebp - 0x54]
push dword [ebp - 0x58]
push dword [ebp - 0x60]
push 0x535d
push dword [ebp - 0x68]
push dword [ebp - 0x70]
push 1
call fcn.1002f3f5
add esp, 0x1c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret