Function at 0x401000
Capabilities:
Create directory

Disassembly:
sub esp, 0x314
mov eax, dword [0x4c3aa8]
xor eax, esp
mov dword [esp + 0x30c], eax
push ebx
push ebp
push esi
push edi
push 0x103
lea eax, [esp + 0x15]
push 0
push eax
mov byte [esp + 0x1c], 0
call fcn.004553e0
add esp, 0xc
lea ecx, [esp + 0x10]
call fcn.00417a50
lea ecx, [esp + 0x10]
call fcn.0041c1c0
cmp eax, 1
je 0x401055
push 0
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 1
push str.APPDATA
push 0x517
mov ebx, str.LngCHS.ini
lea ecx, [esp + 0x1c]
call fcn.00401460
push 1
push str.APPDATA
push 0x518
mov ebx, str.LngCHT.ini
lea ecx, [esp + 0x1c]
call fcn.00401460
push 1
push str.APPDATA
push 0x519
mov ebx, str.LngENU.ini
lea ecx, [esp + 0x1c]
call fcn.00401460
push 1
push str.APPDATA
push 0x51a
mov ebx, 0x4aeafc
lea ecx, [esp + 0x1c]
call fcn.00401460
xor ebx, ebx
push 0x103
lea edx, [esp + 0x11d]
push ebx
push edx
mov byte [esp + 0x124], bl
call fcn.004553e0
lea eax, [esp + 0x1c]
add esp, 0xc
mov ecx, eax
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x4010e2
lea edi, [esp + 0x118]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
cmp cl, bl
jne 0x4010f5
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x118]
rep movsb byte es:[edi], byte [esi]
dec eax
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x401113
mov ecx, dword [0x4aeb0c]
mov edx, dword [0x4aeb10]
mov dword [eax], ecx
mov ecx, dword [0x4aeb14]
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
lea ecx, [esp + 0x118]
call fcn.0041c1c0
mov ebp, dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, 2
je 0x40116d
push str.APPDATA
push 0x51b
push ebx
call ebp
cmp eax, ebx
je 0x40116d
lea edx, [esp + 0x118]
push edx
call fcn.00411e80
add esp, 4
push 0x1ff
lea eax, [esp + 0x11d]
push ebx
push eax
mov byte [esp + 0x124], bl
call fcn.004553e0
add esp, 0xc
lea ecx, [esp + 0x118]
push ecx
call fcn.0040e6a0
lea eax, [esp + 0x118]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4011a1
sub eax, edx
cmp eax, 0x95
jae 0x4011cb
push 1
push str.APPDATA
push 0x51b
mov ebx, 0x4aeb0c
lea ecx, [esp + 0x1c]
call fcn.00401460
push 1
push str.APPDATA
push 0x51c
mov ebx, 0x4aeb18
lea ecx, [esp + 0x1c]
call fcn.00401460
push 0x103
lea edx, [esp + 0x11d]
push 0
push edx
mov byte [esp + 0x124], 0
call fcn.004553e0
lea eax, [esp + 0x1c]
add esp, 0xc
mov ecx, eax
lea ebx, [ebx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x401210
lea edi, [esp + 0x118]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x401223
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x118]
rep movsb byte es:[edi], byte [esi]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x401241
mov ecx, dword [str.ver.TXT]
mov edx, dword [0x4aeb28]
mov dword [eax], ecx
lea ecx, [esp + 0x118]
mov dword [eax + 4], edx
call fcn.0041c1c0
cmp eax, 2
je 0x40128d
push str.APPDATA
push 0x51d
push 0
call ebp
test eax, eax
je 0x40128d
lea ecx, [esp + 0x118]
push ecx
call fcn.00411e80
add esp, 4
push 1
push str.APPDATA
push 0x51e
mov ebx, str.AntVrsl.dat
lea ecx, [esp + 0x1c]
call fcn.00401460
push 0x103
lea edx, [esp + 0x11d]
push 0
push edx
mov byte [esp + 0x124], 0
call fcn.004553e0
lea eax, [esp + 0x1c]
add esp, 0xc
mov ecx, eax
lea esp, [esp]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4012d0
lea edi, [esp + 0x118]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4012e3
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
lea eax, [esp + 0x118]
rep movsb byte es:[edi], byte [esi]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x401301
mov ecx, dword [str.hint.ini]
mov edx, dword [0x4aeb3c]
mov dword [eax], ecx
mov cl, byte [0x4aeb40]
mov dword [eax + 4], edx
mov byte [eax + 8], cl
lea ecx, [esp + 0x118]
call fcn.0041c1c0
cmp eax, 2
je 0x401356
push str.APPDATA
push 0x51f
push 0
call ebp
test eax, eax
je 0x401356
lea edx, [esp + 0x118]
push edx
call fcn.00411e80
add esp, 4
push 1
push 0x4aeb5c
push 0x529
mov ebx, 0x4aeb44
lea ecx, [esp + 0x1c]
call fcn.00401460
push 1
push 0x4aeb5c
push 0x52f
mov ebx, 0x4aeb60
lea ecx, [esp + 0x1c]
call fcn.00401460
push 1
push 0x4aeb5c
push 0x54a
mov ebx, 0x4aeb78
lea ecx, [esp + 0x1c]
call fcn.00401460
push 1
push 0x4aeb5c
push 0x54b
mov ebx, 0x4aeb8c
lea ecx, [esp + 0x1c]
call fcn.00401460
push 1
push 0x4aeb5c
push 0x54f
mov ebx, 0x4aeba0
lea ecx, [esp + 0x1c]
call fcn.00401460
push 1
push 0x4aeb5c
push 0x54e
mov ebx, 0x4aebb4
lea ecx, [esp + 0x1c]
call fcn.00401460
push 1
push 0x4aeb5c
push 0x7e3
mov ebx, 0x4aebcc
lea ecx, [esp + 0x1c]
call fcn.00401460
push 1
push 0x4aeb5c
push 0x7e5
mov ebx, 0x4aebe4
lea ecx, [esp + 0x1c]
call fcn.00401460
push 1
push 0x4aeb5c
push 0x7e6
mov ebx, 0x4aebf4
lea ecx, [esp + 0x1c]
call fcn.00401460
mov ecx, dword [esp + 0x31c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0044e1ea
add esp, 0x314
ret