Function at 0x420689
Capabilities:
Identify system language via api

Disassembly:
push 0x154
mov eax, 0x46bccf
call fcn.0046b3e5
mov dword [ebp - 0xf4], ecx
mov ecx, dword [ebp + 8]
xor edx, edx
mov eax, dword [ebp + 0xc]
mov esi, edx
mov dword [ebp - 0x118], ecx
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0xdc], esi
mov ebx, edx
mov dword [ebp - 4], edx
mov dword [ebp - 0xe4], ebx
mov byte [ebp - 4], 1
mov dword [ebp - 0x120], edx
mov edi, edx
mov byte [ebp - 4], 2
mov dword [ebp - 0xe8], edi
mov byte [ebp - 4], 3
mov dword [ebp - 0x110], edx
mov dword [ebp - 0x10c], edx
mov dword [ebp - 0x108], edx
mov byte [ebp - 4], 4
mov dword [ebp - 0xec], edx
mov byte [ebp - 4], 5
test ecx, ecx
jne 0x420718
mov ecx, 0x80070057
mov dword [ebp - 0xd8], ecx
call fcn.0041802b
jmp 0x420a2c
test eax, eax
je 0x420703
push 0xaa
push edx
lea eax, [ebp - 0xc4]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx ecx, ax
lea edx, [ebp - 0xc4]
push 0x55
call fcn.004212af
test eax, eax
jne 0x420762
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.00417d89
mov dword [ebp - 0xd8], eax
mov ecx, eax
jmp 0x42070e
lea eax, [ebp - 0x124]
push eax
push 0x55
pop edx
lea ecx, [ebp - 0xc4]
call fcn.00414456
mov dword [ebp - 0xd8], eax
test eax, eax
js 0x42075e
push 0x3c
lea eax, [ebp - 0x160]
push 0
push eax
call sub.msvcrt.dll_memset
or dword [ebp - 0x14c], 0xffffffff
lea eax, [ebp - 0x160]
or dword [ebp - 0x130], 0xffffffff
add esp, 0xc
mov dword [ebp - 0x160], 0x3c
push eax
mov eax, dword [ebp - 0xf4]
push 0
push 0
push dword [eax]
call dword [sym.imp.WINHTTP.dll_WinHttpCrackUrl]
test eax, eax
je 0x42074b
push ecx
mov ecx, dword [ebp - 0x150]
lea eax, [ebp - 0x110]
push eax
push 0x2f
pop edx
call fcn.0041827e
mov dword [ebp - 0xd8], eax
test eax, eax
js 0x42075e
lea eax, [ebp - 0xd4]
push eax
call dword [sym.imp.msvcrt.dll__ftime64_s]
pop ecx
test eax, eax
jne 0x42074b
push eax
push 0x3e8
push dword [ebp - 0xd0]
push dword [ebp - 0xd4]
call fcn.0046b220
mov ecx, eax
mov dword [ebp - 0xf0], edx
movzx eax, word [ebp - 0xcc]
cdq
add ecx, eax
lea eax, [ebp - 0xe0]
push eax
adc dword [ebp - 0xf0], edx
mov edx, 0x408ba4
and dword [ebp - 0xe0], 0
mov dword [ebp - 0x114], ecx
call fcn.00419676
mov dword [ebp - 0xd8], eax
test eax, eax
js 0x42075e
cmp dword [ebp - 0xe0], 0
je 0x42097c
and dword [ebp - 0xe0], 0
lea eax, [ebp - 0xe0]
push ecx
push eax
push 0x408be0
mov edx, 0x408ba4
call fcn.0041af04
mov dword [ebp - 0xd8], eax
test eax, eax
js 0x42075e
cmp dword [ebp - 0xe0], 0
je 0x42097c
push ecx
lea eax, [ebp - 0xec]
mov edx, 0x408ba4
push eax
push 0x408be0
call fcn.0041ad24
mov dword [ebp - 0xd8], eax
test eax, eax
js 0x42075e
mov ecx, dword [ebp - 0xec]
lea edx, [ebp - 0x104]
call fcn.00418b53
mov dword [ebp - 0xd8], eax
test eax, eax
js 0x42075e
movzx eax, byte [ebp - 0xf5]
push eax
movzx eax, byte [ebp - 0xf6]
push eax
movzx eax, byte [ebp - 0xf7]
push eax
movzx eax, byte [ebp - 0xf8]
push eax
movzx eax, byte [ebp - 0xf9]
push eax
movzx eax, byte [ebp - 0xfa]
push eax
movzx eax, byte [ebp - 0xfb]
push eax
movzx eax, byte [ebp - 0xfc]
push eax
movzx eax, word [ebp - 0xfe]
push eax
movzx eax, word [ebp - 0x100]
push eax
push dword [ebp - 0x104]
lea eax, [ebp - 0xe8]
push 0x4077d8
push eax
call fcn.0041473e
add esp, 0x34
mov dword [ebp - 0xd8], eax
test eax, eax
jns 0x42096e
mov ecx, eax
call fcn.0041802b
mov edi, dword [ebp - 0xe8]
jmp 0x420a2c
mov edi, dword [ebp - 0xe8]
test edi, edi
je 0x42097c
mov eax, edi
jmp 0x42097e
xor eax, eax
mov edx, dword [ebp - 0xf0]
mov esi, dword [ebp - 0x108]
push eax
mov eax, dword [ebp - 0xf4]
push edx
push dword [ebp - 0x114]
push dword [eax + 4]
lea eax, [ebp - 0xdc]
push dword [esi + 4]
push 0x408bf4
push eax
call fcn.0041473e
add esp, 0x1c
mov dword [ebp - 0xd8], eax
test eax, eax
jns 0x4209cb
mov ecx, eax
call fcn.0041802b
mov esi, dword [ebp - 0xdc]
jmp 0x420a2c
push dword [esi]
lea eax, [ebp - 0xe4]
push 0x4087e8
push eax
call fcn.0041473e
add esp, 0xc
mov dword [ebp - 0xd8], eax
test eax, eax
jns 0x420a00
mov ecx, eax
call fcn.0041802b
mov esi, dword [ebp - 0xdc]
mov ebx, dword [ebp - 0xe4]
jmp 0x420a2c
mov ecx, dword [ebp - 0x118]
xor esi, esi
mov eax, dword [ebp - 0xdc]
xor ebx, ebx
mov dword [ebp - 0xdc], esi
mov dword [ecx], eax
mov ecx, dword [ebp - 0x11c]
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0xe4], ebx
mov dword [ecx], eax
mov ecx, dword [ebp - 0xd8]
call fcn.00418048
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0xec]
test eax, eax
je 0x420a53
mov ecx, eax
call fcn.00417eee
and dword [ebp - 0xec], 0
push 0
lea ecx, [ebp - 0x110]
mov byte [ebp - 4], 3
call fcn.0041cdf0
lea ecx, [ebp - 0x108]
call fcn.0041543f
mov byte [ebp - 4], 2
test edi, edi
je 0x420a85
mov ecx, edi
call fcn.00417eee
and dword [ebp - 0xe8], 0
mov byte [ebp - 4], 0
test ebx, ebx
je 0x420a9b
mov ecx, ebx
call fcn.00417eee
and dword [ebp - 0xe4], 0
or dword [ebp - 4], 0xffffffff
test esi, esi
je 0x420ab1
mov ecx, esi
call fcn.00417eee
and dword [ebp - 0xdc], 0
mov eax, dword [ebp - 0xd8]
call fcn.0046b399
ret 8