Function at 0x1000f86b
Capabilities:
Allocate thread local storage
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008096d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xdc
push esi
jmp 0x1000f8a6
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
add eax, 4
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
add eax, 4
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
cmp dword [eax], 0
je 0x1000ff19
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov eax, dword [eax]
and eax, 0x80000000
je 0x1000f9fc
push 2
lea ecx, [ebp - 0xb4]
call fcn.10011da1
and dword [ebp - 4], 0
mov dword [ebp - 0x48], 0
jmp 0x1000f8e7
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 2
jge 0x1000f903
push dword [ebp - 0x48]
lea ecx, [ebp - 0xb4]
call fcn.10011e0e
mov dword [eax], 0xfffffffb
jmp 0x1000f8e0
push 1
lea ecx, [ebp - 0xb4]
call fcn.10011e0e
and dword [eax], 0
jmp 0x1000f930
push 1
lea ecx, [ebp - 0xb4]
call fcn.10011e0e
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x7c]
mov dword [ecx], eax
push 1
lea ecx, [ebp - 0xb4]
call fcn.10011e0e
cmp dword [eax], 0x19
jge 0x1000f9bc
mov dword [ebp - 0x40], 1
mov dword [ebp - 0x40], 0xffffffe4
jmp 0x1000f959
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0x11
jne 0x1000f9b7
mov dword [ebp - 0x38], 0xffffffff
mov byte [ebp - 0x1e], 0
movzx eax, byte [ebp - 0x1e]
test eax, eax
je 0x1000f97a
push 0
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0x38], 7
jmp 0x1000f98a
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x1a
je 0x1000f9b5
mov byte [ebp - 0x1c], 0
movzx eax, byte [ebp - 0x1c]
test eax, eax
je 0x1000f9b3
push 0xaf6
push 0x11d5
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_EnableScrollBar]
jmp 0x1000f983
jmp 0x1000f952
jmp 0x1000f915
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb4]
call fcn.10011e09
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov eax, dword [eax]
and eax, 0xffff
push eax
mov eax, dword [ebp + 8]
push dword [eax]
push 0x612a
push 0x5506
call fcn.1002e17b
pop ecx
pop ecx
call eax
mov ecx, dword [ebp + 0x14]
mov ecx, dword [ecx]
mov dword [ecx], eax
jmp 0x1000fb77
mov dword [ebp - 0xd4], 0xae9714a0
mov byte [ebp - 0x1d], 0
movzx eax, byte [ebp - 0x1d]
test eax, eax
je 0x1000fa27
push 0x12f5
push 0xe6e
push 0x2082
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov byte [ebp - 0x17], 0
movzx eax, byte [ebp - 0x17]
test eax, eax
je 0x1000fa3f
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SystemTimeToTzSpecificLocalTime]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov ecx, dword [ebp + 0xc]
add ecx, dword [eax]
mov dword [ebp - 0x94], ecx
mov dword [ebp - 0x24], 0xac64a684
mov dword [ebp - 0x90], 0x53e58bfc
mov dword [ebp - 0x24], 0xf
jmp 0x1000fa70
mov eax, dword [ebp - 0x24]
dec eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffed
jne 0x1000fb46
push 2
lea ecx, [ebp - 0xe0]
call fcn.10011da1
mov dword [ebp - 4], 1
mov dword [ebp - 0x14], 0
jmp 0x1000fa9e
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 2
jge 0x1000faba
push dword [ebp - 0x14]
lea ecx, [ebp - 0xe0]
call fcn.10011e0e
mov dword [eax], 1
jmp 0x1000fa97
mov dword [ebp - 0x14], 0
jmp 0x1000faca
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 4
jge 0x1000fae0
mov eax, dword [ebp - 0x14]
mov dword [ebp + eax*4 - 0xd0], 0x50e6da50
jmp 0x1000fac3
push 4
pop eax
shl eax, 1
mov dword [ebp + eax - 0xd0], 1
jmp 0x1000fb0b
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0xd0]
dec eax
push 4
pop ecx
shl ecx, 1
mov dword [ebp + ecx - 0xd0], eax
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0xd0], 0
jl 0x1000fb32
mov byte [ebp - 0x1b], 0
movzx eax, byte [ebp - 0x1b]
test eax, eax
je 0x1000fb30
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCommTimeouts]
jmp 0x1000faf2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe0]
call fcn.10011e09
jmp 0x1000fa69
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x94]
inc eax
inc eax
push eax
mov eax, dword [ebp + 8]
push dword [eax]
push 0x612a
push 0x5506
call fcn.1002e17b
pop ecx
pop ecx
call eax
mov ecx, dword [ebp + 0x14]
mov ecx, dword [ecx]
mov dword [ecx], eax
mov dword [ebp - 0x10], 7
mov dword [ebp - 0x98], 0x9d1fe905
mov dword [ebp - 0x10], 9
jmp 0x1000fb98
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x1b
jl 0x1000fe18
mov dword [ebp - 0x54], 0xad9ddcef
push 1
lea ecx, [ebp - 0xa8]
call fcn.10011da1
mov dword [ebp - 4], 2
mov dword [ebp - 0x88], 0xb11de2a9
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x2c], 0
jmp 0x1000fbe1
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 1
jge 0x1000fbfa
push dword [ebp - 0x2c]
lea ecx, [ebp - 0xa8]
call fcn.10011e0e
or dword [eax], 0xffffffff
jmp 0x1000fbda
mov eax, dword [ebp - 0x10]
neg eax
cmp eax, dword [ebp - 0x10]
je 0x1000fca1
push 3
lea ecx, [ebp - 0xc0]
call fcn.10011da1
mov byte [ebp - 4], 3
mov dword [ebp - 0x28], 0xffffffff
mov dword [ebp - 0x30], 0
jmp 0x1000fc30
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 3
jge 0x1000fc4c
push dword [ebp - 0x30]
lea ecx, [ebp - 0xc0]
call fcn.10011e0e
mov dword [eax], 1
jmp 0x1000fc29
mov dword [ebp - 0x28], 2
jmp 0x1000fc5c
mov eax, dword [ebp - 0x28]
dec eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jl 0x1000fc8d
mov byte [ebp - 0x19], 0
movzx eax, byte [ebp - 0x19]
test eax, eax
je 0x1000fc76
push 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [ebp - 0x28]
lea ecx, [ebp - 0xc0]
call fcn.10011e0e
cmp dword [eax], 0
je 0x1000fc8b
jmp 0x1000fc55
jmp 0x1000fc55
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xc0]
call fcn.10011e09
jmp 0x1000fe04
mov dword [ebp - 0x50], 0x22a1
mov dword [ebp - 0x58], 0x5b3d925d
push 0
lea ecx, [ebp - 0xa8]
call fcn.10011e0e
mov ecx, dword [ebp - 0x10]
cmp dword [eax], ecx
jle 0x1000fccf
mov dword [ebp - 0x84], 1
jmp 0x1000fcd6
and dword [ebp - 0x84], 0
mov eax, dword [ebp - 0x50]
cmp dword [ebp - 0x84], eax
je 0x1000fcea
mov dword [ebp - 0x64], 1
jmp 0x1000fcee
and dword [ebp - 0x64], 0
mov esi, dword [ebp - 0x10]
imul esi, dword [ebp - 0x64]
push 0
lea ecx, [ebp - 0xa8]
call fcn.10011e0e
cmp esi, dword [eax]
jle 0x1000fd12
mov dword [ebp - 0x8c], 1
jmp 0x1000fd19
and dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0x8c]
add eax, 0x874b
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x88]
cmp dword [ebp - 0x10], eax
jl 0x1000fd3e
mov dword [ebp - 0x70], 1
jmp 0x1000fd42
and dword [ebp - 0x70], 0
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x70]
cmp eax, 0xffffffff
jle 0x1000fd56
mov dword [ebp - 0x80], 1
jmp 0x1000fd5a
and dword [ebp - 0x80], 0
mov eax, dword [ebp - 0x80]
sub eax, dword [ebp - 0x10]
neg eax
imul eax, dword [ebp - 0x50]
cmp eax, 0xd45b0e82
jbe 0x1000fd76
mov dword [ebp - 0x78], 1
jmp 0x1000fd7a
and dword [ebp - 0x78], 0
mov eax, dword [ebp - 0x54]
cmp dword [ebp - 0x78], eax
jne 0x1000fd8b
mov dword [ebp - 0x68], 1
jmp 0x1000fd8f
and dword [ebp - 0x68], 0
mov eax, dword [ebp - 0x54]
cmp eax, dword [ebp - 0x68]
jle 0x1000fda0
mov dword [ebp - 0x6c], 1
jmp 0x1000fda4
and dword [ebp - 0x6c], 0
mov eax, dword [ebp - 0x54]
cmp dword [ebp - 0x6c], eax
jl 0x1000fdb5
mov dword [ebp - 0x74], 1
jmp 0x1000fdb9
and dword [ebp - 0x74], 0
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x58], eax
je 0x1000fdd0
mov dword [ebp - 0x5c], 1
jmp 0x1000fdd4
and dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x98]
imul eax, dword [ebp - 0x5c]
imul eax, eax, 0xb26d
sub eax, dword [ebp - 0x10]
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x50], 0
je 0x1000fe04
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa8]
call fcn.10011e09
jmp 0x1000fe18
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa8]
call fcn.10011e09
jmp 0x1000fb91
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
cmp dword [eax], 0
jne 0x1000ff14
mov dword [ebp - 0x34], 0xe0a8eac8
mov byte [ebp - 0x15], 0
movzx eax, byte [ebp - 0x15]
test eax, eax
je 0x1000fe43
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dword [ebp - 0x34], 0
jmp 0x1000fe53
mov eax, dword [ebp - 0x34]
dec eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xffffffff
je 0x1000fe69
mov dword [ebp - 0x60], 0x77dd6887
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
jmp 0x1000fe4c
mov eax, dword [ebp + 0x18]
and dword [eax], 0
mov dword [ebp - 0x3c], 0xb26bdde0
mov dword [ebp - 0x3c], 0xfffffffe
jmp 0x1000fe86
mov eax, dword [ebp - 0x3c]
dec eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0xffffffe7
jle 0x1000ff12
mov dword [ebp - 0x4c], 0x99fb023e
mov dword [ebp - 0x44], 0
jmp 0x1000fea7
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 2
jge 0x1000febd
mov eax, dword [ebp - 0x44]
mov dword [ebp + eax*4 - 0xe8], 0xfb6318d5
jmp 0x1000fea0
mov dword [ebp - 0x4c], 0
jmp 0x1000fecd
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 1
jg 0x1000fefb
mov byte [ebp - 0x16], 0
movzx eax, byte [ebp - 0x16]
test eax, eax
je 0x1000fee5
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov byte [ebp - 0x18], 0
movzx eax, byte [ebp - 0x18]
test eax, eax
je 0x1000fef9
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
jmp 0x1000fec6
mov byte [ebp - 0x1a], 0
movzx eax, byte [ebp - 0x1a]
test eax, eax
je 0x1000ff0d
call dword [sym.imp.KERNEL32.dll_GetVersion]
jmp 0x1000fe7f
jmp 0x1000ff19
jmp 0x1000f88c
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret