Function at 0x489280
Capabilities:
Check if file exists
Contain obfuscated stackstrings
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1b4
mov eax, dword [0x5c0290]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x1a8], ebx
mov dword [ebp - 0x10], 0
call fcn.00468bd0
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
je 0x489980
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
sub esp, 0xc
mov dword [ebp - 0x60], 0x65775747
mov ecx, esp
mov dword [ebp - 0x5c], 0x4a495250
add eax, 0x10
mov dword [ebp - 0x58], 0x6149674f
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push dword [ebp - 0x1a0]
mov dword [ebp - 0x54], 0x3130514f
push eax
lea eax, [ebp - 0x60]
mov dword [ebp - 0x50], 0x6d596a50
mov dword [ebp - 0x4c], 0x4a307a49
mov dword [ebp - 0x48], 0x7567574c
mov dword [ebp - 0x44], 0x684d4446
mov dword [ebp - 0x40], 0x666f4348
mov dword [ebp - 0x3c], 0x6767774f
mov dword [ebp - 0x38], 0x6c634241
mov dword [ebp - 0x34], 0x526f7a50
mov dword [ebp - 0x30], 0x37786742
mov dword [ebp - 0x2c], 0x46307746
mov dword [ebp - 0x28], 0x78707744
mov dword [ebp - 0x24], 0x736f5341
mov dword [ebp - 0x20], 0x7249694c
mov dword [ebp - 0x1c], 0x41497949
mov dword [ebp - 0x18], 0x30414141
push eax
push 0
mov dword [ebp - 0x1a4], 0
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
call fcn.004660a0
lea eax, [ebp - 0x1b4]
push eax
call fcn.00480790
add esp, 0x10
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
sar eax, 1
je 0x48998a
push ecx
lea ecx, [ebp - 0x1a4]
call fcn.004672d0
mov eax, dword [ebp - 0x1b4]
test eax, eax
je 0x4893c3
push eax
call fcn.0053c1e0
add esp, 4
call fcn.00468bd0
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
je 0x489994
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
mov dword [ebp - 0x19c], 0x734a5147
mov dword [ebp - 0x198], 0x74384150
mov dword [ebp - 0x194], 0x47455243
lea esi, [eax + 0x10]
mov dword [ebp - 0x190], 0x31514149
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x18c], 0x6c734143
mov dword [ebp - 0x188], 0x646f7764
mov dword [ebp - 0x184], 0x6d304242
mov dword [ebp - 0x180], 0x4a416746
mov dword [ebp - 0x17c], 0x5241534c
mov dword [ebp - 0x178], 0x41457749
mov dword [ebp - 0x174], 0x6b746847
mov dword [ebp - 0x170], 0x784e6941
mov dword [ebp - 0x16c], 0x2b517848
mov dword [ebp - 0x168], 0x58676743
mov dword [ebp - 0x164], 0x2b6f6a64
mov dword [ebp - 0x160], 0x666b774a
mov dword [ebp - 0x15c], 0x366f4264
mov dword [ebp - 0x158], 0x69553244
mov dword [ebp - 0x154], 0x61386847
mov dword [ebp - 0x150], 0x556b794a
mov dword [ebp - 0x14c], 0x47637843
mov dword [ebp - 0x148], 0x4d387a49
mov dword [ebp - 0x144], 0x56597a50
mov dword [ebp - 0x140], 0x4e777746
mov dword [ebp - 0x13c], 0x756b6e41
mov dword [ebp - 0x138], 0x4d345345
mov dword [ebp - 0x134], 0x2f49544f
mov dword [ebp - 0x130], 0x45635144
mov dword [ebp - 0x12c], 0x4849684c
mov dword [ebp - 0x128], 0x774d4344
mov dword [ebp - 0x124], 0x6e514142
mov dword [ebp - 0x120], 0x43637848
mov dword [ebp - 0x11c], 0x69595741
mov dword [ebp - 0x118], 0x56495249
mov dword [ebp - 0x114], 0x436b6a42
mov dword [ebp - 0x110], 0x77347944
mov dword [ebp - 0x10c], 0x4867474f
mov dword [ebp - 0x108], 0x3731444c
mov dword [ebp - 0x104], 0x36344242
mov dword [ebp - 0x100], 0x42456747
mov dword [ebp - 0xfc], 0x51494343
mov dword [ebp - 0xf8], 0x74345847
mov dword [ebp - 0xf4], 0x62555146
mov dword [ebp - 0xf0], 0x32454248
mov dword [ebp - 0xec], 0x65343364
mov dword [ebp - 0xe8], 0x794d4243
mov dword [ebp - 0xe4], 0x36776849
mov dword [ebp - 0xe0], 0x6c557847
mov dword [ebp - 0xdc], 0x63637841
mov dword [ebp - 0xd8], 0x58496865
mov dword [ebp - 0xd4], 0x364d5144
mov dword [ebp - 0xd0], 0x7a704844
mov dword [ebp - 0xcc], 0x68457849
mov dword [ebp - 0xc8], 0x57455242
mov dword [ebp - 0xc4], 0x67597865
mov dword [ebp - 0xc0], 0x6e77334a
mov dword [ebp - 0xbc], 0x68775847
mov dword [ebp - 0xb8], 0x5138674f
mov dword [ebp - 0xb4], 0x63454163
mov dword [ebp - 0xb0], 0x6b67424b
mov dword [ebp - 0xac], 0x6c686a4b
mov dword [ebp - 0xa8], 0x4a6b6e4b
mov dword [ebp - 0xa4], 0x56737a45
mov dword [ebp - 0xa0], 0x7145674a
mov dword [ebp - 0x9c], 0x57596866
mov dword [ebp - 0x98], 0x4845684b
mov dword [ebp - 0x94], 0x5538444e
mov dword [ebp - 0x90], 0x6c70524d
mov dword [ebp - 0x8c], 0x77416d4b
mov dword [ebp - 0x88], 0x3741514b
mov dword [ebp - 0x84], 0x3955774b
mov dword [ebp - 0x80], 0x7a59694b
mov dword [ebp - 0x7c], 0x45494747
mov dword [ebp - 0x78], 0x74456842
mov dword [ebp - 0x74], 0x35393364
mov dword [ebp - 0x70], 0x3874684c
lea eax, [ebp - 0x10]
mov dword [ebp - 0x6c], 0x6c344147
push eax
sub esp, 0xc
mov dword [ebp - 0x68], 0x41414141
mov ecx, esp
mov word [ebp - 0x64], 0x6735
lea eax, [ebp - 0x62]
push dword [ebp - 0x1a0]
mov dword [ecx], 0
push eax
lea eax, [ebp - 0x19c]
mov dword [ecx + 4], 0
push eax
push 0
mov dword [ecx + 8], 0
call fcn.004660a0
lea eax, [ebp - 0x1b4]
push eax
call fcn.00480790
add esp, 0x10
mov ecx, dword [eax]
mov eax, dword [eax + 4]
sub eax, ecx
sar eax, 1
je 0x48999e
push ecx
lea eax, [ebp - 8]
mov ecx, ebx
push eax
call fcn.00514da0
push eax
lea ecx, [ebp - 0x14]
call fcn.004b7bc0
mov edx, dword [ebp - 8]
or ebx, 0xffffffff
add edx, 0xfffffff0
mov eax, ebx
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x48976a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x1b4]
test eax, eax
je 0x48977d
push eax
call fcn.0053c1e0
add esp, 4
mov edi, dword [ebp - 0x14]
mov ecx, dword [edi - 0xc]
test ecx, ecx
je 0x489901
jmp 0x489790
cmp dword [esi - 0xc], 0
jne 0x4897f0
lea edx, [edi - 0x10]
lea ebx, [esi - 0x10]
cmp edx, ebx
je 0x489863
cmp dword [ebx + 0xc], 0
lea esi, [ebx + 0xc]
jl 0x4897e1
mov eax, dword [edx]
cmp eax, dword [ebx]
jne 0x4897e1
push edx
call fcn.004c2870
add esp, 4
mov dword [ebp - 8], eax
or ecx, 0xffffffff
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x4897d6
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 8]
lea esi, [eax + 0x10]
mov dword [ebp - 0xc], esi
jmp 0x489863
push ecx
push edi
lea ecx, [ebp - 0xc]
call fcn.00469090
mov esi, dword [ebp - 0xc]
jmp 0x489863
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or ecx, eax
jge 0x489814
push 0x104
lea ecx, [ebp - 0xc]
call fcn.00468e20
mov esi, dword [ebp - 0xc]
push edi
push esi
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push dword [esi - 8]
push esi
call fcn.0053eeff
add esp, 8
test eax, eax
js 0x4899a8
cmp eax, dword [esi - 8]
jg 0x4899a8
xor ecx, ecx
mov dword [esi - 0xc], eax
push esi
mov word [esi + eax*2], cx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x489852
test al, 0x10
jne 0x489863
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x48996b
mov ecx, dword [ebp - 0x1a8]
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x1a4]
lea eax, [ebp - 0x1a0]
push eax
call fcn.00514da0
lea ebx, [edi - 0x10]
mov ecx, dword [eax]
lea edx, [ecx - 0x10]
cmp edx, ebx
je 0x4898d4
cmp dword [ebx + 0xc], 0
lea edi, [ebx + 0xc]
jl 0x4898c5
mov eax, dword [edx]
cmp eax, dword [ebx]
jne 0x4898c5
push edx
call fcn.004c2870
add esp, 4
mov dword [ebp - 8], eax
or ecx, 0xffffffff
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x4898bd
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 8]
lea edi, [eax + 0x10]
mov dword [ebp - 0x14], edi
jmp 0x4898d4
push dword [ecx - 0xc]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00469090
mov edi, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1a0]
or ebx, 0xffffffff
add edx, 0xfffffff0
mov ecx, ebx
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4898f6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [edi - 0xc]
test ecx, ecx
jne 0x489790
mov dword [ebp - 0x10], 0
add esi, 0xfffffff0
mov ecx, ebx
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x489921
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x1a4]
mov ecx, ebx
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x489940
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
lea eax, [edi + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x489957
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0053d3a0
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor edx, edx
cmp eax, 0xb7
cmovne edx, eax
mov dword [ebp - 0x10], edx
jmp 0x489908
push 0x80004005
call fcn.00468960
push str.invalid_vector_T__subscript
call fcn.0053af06
push 0x80004005
call fcn.00468960
push str.invalid_vector_T__subscript
call fcn.0053af06
push 0x80070057
call fcn.00468960
int3