Function at 0x33d071
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18c
push ebx
push esi
push edi
call fcn.00335b1e
mov dword [ebp - 0xc], eax
test eax, eax
je 0x33d31b
lea ecx, [ebp - 0x38]
call fcn.0032ba1c
mov esi, 0x325968
lea edi, [ebp - 8]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 8]
movsb byte es:[edi], byte [esi]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x33d0a5
lea ecx, [ebp - 8]
push ecx
sub eax, edx
push eax
push 0x32595c
push 2
pop ebx
push ebx
lea ecx, [ebp - 0x38]
call fcn.003350ca
mov ecx, 0x356d78
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x33d0ce
push ecx
sub eax, esi
push eax
push 0x325950
push ebx
lea ecx, [ebp - 0x38]
call fcn.003350ca
xor eax, eax
mov byte [ebp - 0x60], 0
lea edi, [ebp - 0x5f]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0xa
lea eax, [ebp - 0x60]
push eax
push 0x286c
call sub.ntdll.dll__itoa
lea eax, [ebp - 0x60]
add esp, 0xc
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x33d110
sub eax, ecx
lea ecx, [ebp - 0x60]
push ecx
push eax
push 0x325944
push ebx
lea ecx, [ebp - 0x38]
call fcn.003350ca
xor eax, eax
mov byte [ebp - 0x78], 0
lea edi, [ebp - 0x77]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x9c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea eax, [ebp - 0x78]
push eax
sub esp, 0x10
lea esi, [ebp - 0x9c]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0032c159
lea eax, [ebp - 0x78]
add esp, 0x14
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x33d16b
lea ecx, [ebp - 0x78]
push ecx
sub eax, esi
push eax
push 0x325938
push ebx
lea ecx, [ebp - 0x38]
call fcn.003350ca
xor eax, eax
push 0x58
push eax
mov word [ebp - 0xf8], ax
lea eax, [ebp - 0xf6]
push eax
call sub.ntdll.dll_memset
lea eax, [ebp - 0xf8]
push eax
call fcn.00339c19
lea eax, [ebp - 0xf8]
add esp, 0x10
lea ecx, [eax + 2]
mov dx, word [eax]
add eax, ebx
test dx, dx
jne 0x33d1b7
sub eax, ecx
sar eax, 1
lea ecx, [ebp - 0xf8]
push ecx
add eax, eax
push eax
push 0x32592c
push ebx
lea ecx, [ebp - 0x38]
call fcn.003350ca
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0xa
lea ecx, [ebp - 0x8c]
push ecx
push eax
call sub.ntdll.dll__itoa
lea eax, [ebp - 0x8c]
add esp, 0xc
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x33d1fe
lea ecx, [ebp - 0x8c]
push ecx
sub eax, esi
push eax
push 0x325920
push ebx
lea ecx, [ebp - 0x38]
call fcn.003350ca
push 0x90
lea eax, [ebp - 0x188]
push 0
push eax
call sub.ntdll.dll_memset
add esp, 0xc
lea eax, [ebp - 0x18c]
push eax
mov dword [ebp - 0x18c], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x33d2a5
push dword [ebp - 0x180]
xor eax, eax
push dword [ebp - 0x184]
mov byte [ebp - 0x4c], 0
push dword [ebp - 0x188]
lea edi, [ebp - 0x4b]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x325914
stosb byte es:[edi], al
lea eax, [ebp - 0x4c]
push 0x13
push eax
call sub.ntdll.dll__snprintf
lea eax, [ebp - 0x4c]
add esp, 0x18
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x33d289
lea ecx, [ebp - 0x4c]
push ecx
sub eax, edx
push eax
push 0x325908
push ebx
lea ecx, [ebp - 0x38]
call fcn.003350ca
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx ecx, ax
xor eax, eax
mov byte [ebp - 0x18], 0
lea edi, [ebp - 0x17]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push ecx
push 0x325904
stosw word es:[edi], ax
lea eax, [ebp - 0x18]
push 0xa
push eax
call sub.ntdll.dll__snprintf
lea eax, [ebp - 0x18]
add esp, 0x10
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x33d2d5
lea ecx, [ebp - 0x18]
push ecx
sub eax, esi
push eax
push 0x3258f8
push ebx
lea ecx, [ebp - 0x38]
call fcn.003350ca
lea ecx, [ebp - 0x38]
call fcn.00339457
push dword [ebp - 0x34]
push dword [ebp - 0x30]
call fcn.00339abb
pop ecx
pop ecx
test al, al
jne 0x33d313
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x38]
call fcn.0033d050
pop edi
pop esi
pop ebx
leave
ret