Function at 0x433320
Capabilities:
Create directory

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [0x490898]
test eax, eax
je 0x433854
cmp word [0x4996c8], 0
je 0x433854
push eax
push str._wsA.log
push 0x104
push 0x4998d0
call fcn.00411c20
add esp, 0x10
push dword [0x490898]
push str._wsError.log
push 0x104
push 0x499ad8
call fcn.00411c20
add esp, 0x10
push dword [0x490898]
push str._wsA_All.log
push 0x104
push 0x499ce0
call fcn.00411c20
add esp, 0x10
push dword [0x490898]
push str._wsError_All.log
push 0x104
push 0x499ee8
call fcn.00411c20
add esp, 0x10
push 0x4998d0
call fcn.00433860
push 0x499ad8
call fcn.00433860
mov byte [0x49b2f8], 1
push dword [0x490898]
push str._wsSettings_ldr.ini
push 0x104
push 0x492340
call fcn.00411c20
add esp, 0x10
push dword [0x490898]
push str._wsLogin.ini
push 0x104
push 0x492138
call fcn.00411c20
add esp, 0x10
push dword [0x490898]
push str._wsPlayers_ldr.ini
push 0x104
push 0x49a0f0
call fcn.00411c20
add esp, 0x10
push dword [0x490898]
push str._wskitterengine_
push 0x104
push 0x4994c0
call fcn.00411c20
add esp, 0x10
push 0
push 0x4994c0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x433854
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x433854
cmp byte [0x5177ec], 0
jne 0x43383e
xor edi, edi
mov byte [0x5177ec], 1
movaps xmm0, xmmword [0x471ce0]
movups xmmword [0x5176a8], xmm0
movaps xmm0, xmmword [0x471cf0]
movups xmmword [0x5176b8], xmm0
movaps xmm0, xmmword [0x471d00]
movups xmmword [0x5176c8], xmm0
movaps xmm0, xmmword [0x471d10]
movups xmmword [0x5176d8], xmm0
movaps xmm0, xmmword [0x471d20]
movups xmmword [0x5176e8], xmm0
movaps xmm0, xmmword [0x471d30]
movups xmmword [0x5176f8], xmm0
movaps xmm0, xmmword [0x471d40]
movups xmmword [0x517708], xmm0
movaps xmm0, xmmword [0x471d50]
movups xmmword [0x517718], xmm0
movaps xmm0, xmmword [0x471d60]
movups xmmword [0x517728], xmm0
movaps xmm0, xmmword [0x471d70]
movups xmmword [0x517738], xmm0
mov dword [0x517748], 0
mov ecx, 3
nop word cs:[eax + eax]
mov dword [esp], ecx
mov dword [esp + 8], edi
mov edi, dword [esp + 8]
shr edi, 0x1e
mov eax, dword [esp + 8]
lea ebx, [eax*4]
mov esi, ecx
mov eax, 0x5a336b2a
xor esi, eax
mov ebp, 0x5a336b2a
mov eax, ecx
mov ecx, 0xad19b595
xor eax, ecx
sub eax, ebx
mov edx, 0
sbb edx, edi
add eax, 0xfffffffe
adc edx, 0xffffffff
add esi, ebx
mov ecx, 1
adc ecx, edi
add esi, 3
adc ecx, 0
xor ecx, edx
xor esi, eax
mov dword [esp + 0x24], esi
shld ecx, esi, 0x18
shr edx, 8
mov eax, ecx
add eax, edx
mov esi, edx
adc eax, 0
mov edx, 0x80808081
mul edx
shr edx, 7
mov eax, edx
shl eax, 8
sub edx, eax
add esi, ecx
mov ecx, ebx
not ecx
adc esi, edx
mov dword [esp + 0x20], esi
mov eax, dword [esp]
dec eax
mov dword [esp + 4], eax
mov edx, eax
xor edx, ebp
mov esi, 0xad19b595
xor eax, esi
add eax, ecx
mov esi, edi
not esi
adc esi, 0
add edx, ebx
mov ecx, 1
adc ecx, edi
or edx, 2
xor edx, eax
mov dword [esp + 0x1c], edx
xor ecx, esi
shld ecx, edx, 0x18
shr esi, 8
mov eax, ecx
add eax, esi
adc eax, 0
mov edx, 0x80808081
mul edx
shr edx, 7
mov eax, edx
shl eax, 8
sub edx, eax
add esi, ecx
adc esi, edx
mov dword [esp + 0x18], esi
mov eax, dword [esp]
add eax, 0xfffffffe
mov dword [esp + 0x14], eax
mov ecx, eax
xor ecx, ebp
mov edx, 0xad19b595
xor eax, edx
mov dword [esp + 0xc], ebx
sub eax, ebx
mov ebp, 0
sbb ebp, edi
add ecx, ebx
mov esi, 1
adc esi, edi
add ecx, 1
adc esi, 0
xor ecx, eax
xor esi, ebp
shld esi, ecx, 0x18
shr ebp, 8
mov eax, esi
add eax, ebp
adc eax, 0
mov edx, 0x80808081
mul edx
shr edx, 7
mov eax, edx
shl eax, 8
sub edx, eax
add ebp, esi
adc ebp, edx
mov eax, dword [esp]
add eax, 0xfffffffd
mov dword [esp + 0x10], eax
mov ebx, eax
mov edx, 0x5a336b2a
xor ebx, edx
mov edx, 0xad19b595
xor eax, edx
mov edx, dword [esp + 0xc]
sub eax, edx
mov esi, 0
sbb esi, edi
add eax, 1
adc esi, 0
add ebx, edx
mov edx, 1
adc edi, edx
xor ebx, eax
xor edi, esi
shld edi, ebx, 0x18
shr esi, 8
mov eax, edi
add eax, esi
adc eax, 0
mov edx, 0x80808081
mul edx
shr edx, 7
mov eax, edx
shl eax, 8
sub edx, eax
add esi, edi
adc esi, edx
mov eax, ebx
shr eax, 8
sub eax, esi
shl eax, 8
lea edx, [eax + eax*2]
lea edi, [ebx + ebx*2]
sub edx, edi
sub eax, ebx
movzx edi, bl
shl esi, 8
lea ebx, [esi + edi]
add ebx, 7
add esi, edi
inc esi
imul ebx, dword [esp + 0x10]
mov edi, dword [esp]
add edx, edi
add edx, 0xfffffffa
xor ebx, edx
xor ebx, esi
mov edx, dword [esp]
add eax, edx
add eax, 5
mov edx, dword [esp]
xor ax, word [edx + edx + 0x5176a2]
xor ebx, eax
mov eax, dword [esp]
mov word [eax + eax + 0x517744], bx
mov eax, ecx
shr eax, 8
sub eax, ebp
shl eax, 8
lea edx, [eax + eax*2]
lea esi, [ecx + ecx*2]
sub edx, esi
sub eax, ecx
movzx ecx, cl
shl ebp, 8
lea esi, [ecx + ebp]
add esi, 7
add ecx, ebp
inc ecx
imul esi, dword [esp + 0x14]
mov edi, dword [esp]
add edx, edi
add edx, 0xfffffffb
xor esi, edx
mov edx, dword [esp]
add eax, edx
add eax, 6
mov edx, dword [esp]
xor ax, word [edx + edx + 0x5176a4]
xor esi, ecx
xor esi, eax
mov eax, dword [esp]
mov word [eax + eax + 0x517746], si
mov esi, dword [esp + 0x1c]
mov eax, esi
shr eax, 8
mov edi, dword [esp + 0x18]
sub eax, edi
shl eax, 8
lea edx, [eax + eax*2]
lea ecx, [esi + esi*2]
sub edx, ecx
mov ecx, esi
sub eax, esi
movzx esi, cl
shl edi, 8
lea ecx, [edi + esi]
add ecx, 7
add esi, edi
inc esi
mov edi, dword [esp]
add edx, edi
add edx, 0xfffffffc
imul ecx, dword [esp + 4]
xor ecx, edx
xor ecx, esi
mov ebx, dword [esp + 0x24]
movzx edx, bl
mov dword [esp + 4], edx
mov edx, ebx
shr edx, 8
mov esi, dword [esp + 0x20]
sub edx, esi
shl edx, 8
lea edi, [edx + edx*2]
sub edx, ebx
lea ebx, [ebx + ebx*2]
mov ebp, dword [esp]
add eax, ebp
add eax, 7
mov ebp, dword [esp]
xor ax, word [ebp + ebp + 0x5176a6]
xor ecx, eax
mov eax, dword [esp]
mov word [eax + eax + 0x517748], cx
mov ebp, esi
shl ebp, 8
sub edi, ebx
mov eax, dword [esp]
add eax, edi
add eax, 0xfffffffd
mov edi, dword [esp + 8]
mov esi, dword [esp + 4]
lea ecx, [esi + ebp]
add ecx, 7
imul ecx, dword [esp]
xor ecx, eax
lea eax, [esi + ebp]
inc eax
xor eax, ecx
mov ecx, dword [esp]
add ecx, edx
add ecx, 8
mov edx, dword [esp]
xor cx, word [edx + edx + 0x5176a8]
xor eax, ecx
mov ecx, dword [esp]
mov word [ecx + ecx + 0x51774a], ax
inc edi
add ecx, 4
cmp ecx, 0x53
jne 0x433520
movzx eax, word [0x517748]
xor eax, 0xdbc8
mov word [0x5177ea], ax
push 0x4994c0
push 0x51774a
push 0
call fcn.00411cb0
add esp, 0x34
jmp 0x433857
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret