Function at 0x1003162d
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100614c1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x70
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x1003167a
push 0x28a0
push 1
push 0x1d33
push 0x857
push 0x1062
call fcn.100318b3
add esp, 0x14
jmp 0x100318a2
mov dword [ebp - 0x30], 0x4ccb
mov dword [ebp - 0x38], str.xbdukhsj_ywaqfhbo_lwztppgt_tfi_jqdmrer_rxgvcy_eno_raeacexre_qwgnekyiz_ppembvy_vqyoqmfoz_ffi_kuqmtjwkm_nqvkqa
cmp dword [ebp - 0x30], 0x4d38
jle 0x10031706
push 0
push 0x1165
call dword [sym.imp.GDI32.dll_RectVisible]
and dword [ebp - 0x18], 0
jmp 0x100316ab
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x66be
jge 0x10031706
and dword [ebp - 0x1c], 0
jmp 0x100316c1
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x2340
jge 0x10031704
and dword [ebp - 0x20], 0
jmp 0x100316d7
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x10ea
jge 0x10031702
mov eax, dword [ebp - 0x18]
and eax, dword [ebp - 0x1c]
and eax, dword [ebp - 0x20]
cdq
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], edx
push dword [ebp - 0x5c]
push dword [ebp - 0x60]
mov ecx, 0x1007bfb8
call fcn.1000dd80
jmp 0x100316d0
jmp 0x100316ba
jmp 0x100316a4
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x48], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x30], 0x4b41
jge 0x10031726
mov edx, dword [ebp - 0x38]
mov ecx, 0x1007bfb8
call fcn.10010bec
jmp 0x10031742
or dword [ebp - 4], 0xffffffff
jmp 0x1003174c
mov dword [ebp - 0x34], 0x494d
mov dword [ebp - 0x40], str.zdjntkyt_ajq_meevkplrn_utxow_xpdwanofy_lirgjso_wkwkvmy_nwjyiqo
cmp dword [ebp - 0x34], 0x4d21
jle 0x100317f8
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
and dword [ebp - 0x24], 0
jmp 0x1003177a
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x778d
jge 0x100317f8
and dword [ebp - 0x28], 0
jmp 0x10031790
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x2034
jge 0x100317f3
and dword [ebp - 0x2c], 0
jmp 0x100317a6
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x6cc
jge 0x100317f1
mov eax, dword [ebp - 0x24]
cdq
idiv dword [ebp - 0x28]
mov eax, edx
cdq
idiv dword [ebp - 0x2c]
mov eax, edx
cdq
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], edx
push dword [ebp - 0x64]
push dword [ebp - 0x68]
lea ecx, [ebp - 0x80]
call fcn.10001a9f
pop ecx
pop ecx
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
call fcn.1000dd60
push eax
call fcn.10047a23
pop ecx
lea ecx, [ebp - 0x80]
call fcn.1000dd56
jmp 0x1003179f
jmp 0x10031789
jmp 0x10031773
lea eax, [ebp + 8]
mov dword [ebp - 0x44], eax
mov dword [ebp - 4], 2
cmp dword [ebp - 0x34], 0x4632
jge 0x10031817
push dword [ebp - 0x40]
call fcn.10047a23
pop ecx
jmp 0x10031833
or dword [ebp - 4], 0xffffffff
jmp 0x1003183d
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x44]
movzx eax, byte [eax]
test eax, eax
je 0x10031857
push 0
call dword [sym.imp.KERNEL32.dll_SetCommBreak]
jmp 0x100318a2
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
jmp 0x10031885
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 1
jge 0x100318a2
mov eax, dword [ebp - 0x14]
push dword [eax]
mov ecx, dword [ebp - 0x58]
call fcn.1000e16a
mov dword [eax], 0xfffffffb
jmp 0x1003187a
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret