Function at 0x41e77d
Capabilities:
Identify system language via api

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x47247b
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x477008]
xor eax, esp
mov dword [esp + 0x270], eax
push ebx
push esi
push edi
mov eax, dword [0x477008]
xor eax, esp
push eax
lea eax, [esp + 0x288]
mov dword fs:[0], eax
mov dword [esp + 0x3c], ecx
mov ecx, dword [ebp + 8]
xor edx, edx
mov eax, dword [ebp + 0xc]
mov esi, edx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], eax
mov dword [esp + 0x18], esi
mov edi, edx
mov dword [esp + 0x290], edx
mov dword [esp + 0x1c], edi
mov byte [esp + 0x290], 1
mov dword [esp + 0x5c], edx
mov byte [esp + 0x290], 2
mov dword [esp + 0x2c], edx
mov byte [esp + 0x290], 3
mov dword [esp + 0x24], edx
mov byte [esp + 0x290], 4
mov dword [esp + 0x30], edx
mov byte [esp + 0x290], 5
mov dword [esp + 0x28], edx
mov byte [esp + 0x290], 6
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], edx
mov ebx, edx
mov byte [esp + 0x290], 7
mov dword [esp + 0x20], ebx
mov byte [esp + 0x290], 8
test ecx, ecx
jne 0x41e863
mov ecx, 0x80070057
mov dword [esp + 0x10], ecx
call fcn.0042752a
jmp 0x41eb3b
test eax, eax
je 0x41e850
xor eax, eax
push 0x11c
mov word [esp + 0x18], ax
lea eax, [esp + 0xb0]
push edx
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [esp + 0x1cc]
push 0xaa
push 0
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx ecx, ax
lea edx, [esp + 0x1cc]
push 0x55
call fcn.0042779f
test eax, eax
jne 0x41e8cb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.004247f6
mov dword [esp + 0x10], eax
mov ecx, eax
jmp 0x41e859
lea eax, [esp + 0x58]
push eax
push 0x55
pop edx
lea ecx, [esp + 0x1d0]
call fcn.004257fa
mov dword [esp + 0x10], eax
test eax, eax
js 0x41e8c7
push 0x3c
lea eax, [esp + 0x64]
push 0
push eax
call sub.msvcrt.dll_memset
or dword [esp + 0x80], 0xffffffff
lea eax, [esp + 0x6c]
or dword [esp + 0x9c], 0xffffffff
add esp, 0xc
mov dword [esp + 0x60], 0x3c
push eax
mov eax, dword [esp + 0x40]
push 0
push 0
push dword [eax]
call dword [sym.imp.WINHTTP.dll_WinHttpCrackUrl]
test eax, eax
je 0x41e8b6
push ecx
mov ecx, dword [esp + 0x74]
lea eax, [esp + 0x44]
push eax
push 0x2f
pop edx
call fcn.00424689
mov dword [esp + 0x10], eax
test eax, eax
js 0x41e8c7
lea eax, [esp + 0x9c]
push eax
call dword [sym.imp.msvcrt.dll__ftime64_s]
pop ecx
test eax, eax
jne 0x41e8b6
push eax
push 0x3e8
push dword [esp + 0xa8]
push dword [esp + 0xa8]
call fcn.00471c70
mov ecx, eax
mov dword [esp + 0x34], edx
movzx eax, word [esp + 0xa4]
cdq
add ecx, eax
lea eax, [esp + 0x14]
push eax
adc dword [esp + 0x38], edx
lea eax, [esp + 0x30]
push eax
push 0x40946c
push 0x409480
push ecx
mov dword [esp + 0x68], ecx
call fcn.0041e544
mov dword [esp + 0x10], eax
test eax, eax
js 0x41e8c7
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x28]
push eax
push 0
push 0x4094c0
push ecx
call fcn.0041e544
mov dword [esp + 0x10], eax
test eax, eax
js 0x41e8c7
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x34]
push eax
push 0x409528
push 0x409540
push ecx
call fcn.0041e544
mov dword [esp + 0x10], eax
test eax, eax
js 0x41e8c7
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x2c]
push eax
push 0x40960c
push 0x409620
push ecx
call fcn.0041e544
mov dword [esp + 0x10], eax
mov dword [esp + 0x38], eax
test eax, eax
js 0x41e8c7
lea eax, [esp + 0xac]
mov dword [esp + 0xac], 0x11c
push eax
call dword [sym.imp.ntdll.dll_RtlGetVersion]
lea edx, [esp + 0x38]
mov ecx, eax
call fcn.0041e6a6
test eax, eax
jne 0x41ea56
mov eax, dword [esp + 0x38]
jmp 0x41e8c3
push dword [esp + 0xb8]
lea eax, [esp + 0x24]
push dword [esp + 0xb8]
push dword [esp + 0xb8]
push 0x4096a0
push eax
call fcn.004255e4
add esp, 0x14
mov dword [esp + 0x10], eax
test eax, eax
jns 0x41ea95
mov ecx, eax
call fcn.0042752a
mov ebx, dword [esp + 0x20]
jmp 0x41eb3b
mov ebx, dword [esp + 0x20]
movzx eax, word [esp + 0x14]
mov edx, dword [esp + 0x34]
mov esi, dword [esp + 0x48]
push ebx
push eax
push dword [esp + 0x30]
mov eax, dword [esp + 0x48]
push dword [esp + 0x3c]
push dword [esp + 0x34]
push dword [esp + 0x40]
push edx
push dword [esp + 0x70]
push dword [eax + 4]
lea eax, [esp + 0x3c]
push dword [esi + 4]
push 0x4096b8
push eax
call fcn.004255e4
add esp, 0x30
mov dword [esp + 0x10], eax
test eax, eax
jns 0x41eaee
mov ecx, eax
call fcn.0042752a
mov esi, dword [esp + 0x18]
jmp 0x41eb3b
push dword [esi]
lea eax, [esp + 0x20]
push 0x409834
push eax
call fcn.004255e4
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
jns 0x41eb1b
mov ecx, eax
call fcn.0042752a
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
jmp 0x41eb3b
mov ecx, dword [esp + 0x4c]
xor esi, esi
mov eax, dword [esp + 0x18]
xor edi, edi
mov dword [esp + 0x18], esi
mov dword [ecx], eax
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x1c], edi
mov dword [ecx], eax
mov ecx, dword [esp + 0x10]
call fcn.00427547
mov byte [esp + 0x290], 7
test ebx, ebx
je 0x41eb5f
mov ecx, ebx
call fcn.004274da
xor ebx, ebx
mov dword [esp + 0x20], ebx
jmp 0x41eb61
xor ebx, ebx
push ebx
lea ecx, [esp + 0x44]
mov byte [esp + 0x294], 6
call fcn.00427329
lea ecx, [esp + 0x48]
call fcn.0041d834
mov byte [esp + 0x290], 5
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x41eb95
call fcn.004274da
mov dword [esp + 0x28], ebx
mov byte [esp + 0x290], 4
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x41ebae
call fcn.004274da
mov dword [esp + 0x30], ebx
mov byte [esp + 0x290], 3
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x41ebc7
call fcn.004274da
mov dword [esp + 0x24], ebx
mov byte [esp + 0x290], 2
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x41ebe0
call fcn.004274da
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x290], bl
test edi, edi
je 0x41ebf6
mov ecx, edi
call fcn.004274da
mov dword [esp + 0x1c], ebx
or dword [esp + 0x290], 0xffffffff
test esi, esi
je 0x41ec0d
mov ecx, esi
call fcn.004274da
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x288]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x270]
xor ecx, esp
call fcn.00456cf0
mov esp, ebp
pop ebp
ret 8