Function at 0x401000
Capabilities:
Check http status code
Identify system language via api
Terminate process

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x30
mov dword [esp], 0xa29a29d5
movzx ebp, word [esp + 0xe]
mov ebx, dword [esp + 0x1c]
mov edi, dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
mov eax, dword [esp]
cmp eax, 0x19db63ff
jle 0x401081
cmp eax, 0x3fdbf742
jg 0x4010d3
cmp eax, 0x3146f307
jle 0x401162
cmp eax, 0x369212a7
jle 0x401278
cmp eax, 0x369212a8
je 0x401423
cmp eax, 0x36a77d40
je 0x40143f
cmp eax, 0x38fc521a
jne 0x40101d
mov ecx, dword [esp + 0x10]
mov eax, 0xc576a705
cmp ecx, 4
je 0x40160c
mov eax, 0x8e5fff48
jmp 0x40160c
cmp eax, 0xc576a704
jg 0x40111c
cmp eax, 0xa8d65b33
jle 0x401198
cmp eax, 0xab7efe4f
jle 0x4012b6
cmp eax, 0xb245516c
je 0x401469
cmp eax, 0xb480bf9c
jne 0x4016d4
imul eax, dword [esp + 4], 0x37
add eax, 0xffffff92
mov dword [esp + 4], eax
call section..text
call section..text
jmp 0x40156c
cmp eax, 0x58300900
jle 0x4011dc
cmp eax, 0x5e2f3262
jle 0x4012fd
cmp eax, 0x5e2f3263
je 0x401491
cmp eax, 0x790d5859
jne 0x4016e1
imul eax, dword [esp + 8], 0x9a840000
add eax, 0xca3400e8
mov dword [esp + 8], eax
mov dword [esp], 0xb245516c
jmp 0x40101d
cmp eax, 0xd062ab76
jg 0x40122f
cmp eax, 0xcd3bc671
jg 0x401337
cmp eax, 0xc576a705
je 0x4014a4
cmp eax, 0xc81225e2
jne 0x40101d
mov eax, dword [esp + 0x10]
movzx eax, word [esp + eax*2 + 0x28]
mov word [esp + 0x1a], ax
mov dword [esp], 0xfe24f2ff
jmp 0x40101d
cmp eax, 0x29885648
jg 0x40136f
cmp eax, 0x19db6400
je 0x4014c0
cmp eax, 0x249c2c31
jne 0x40101d
mov eax, dword [esp + 0x24]
inc eax
mov dword [esp + 0x10], eax
mov dword [esp], 0x38fc521a
jmp 0x40101d
cmp eax, 0x8e5fff47
jg 0x4013a0
cmp eax, 0x8330342a
je 0x4014fa
cmp eax, 0x839ecce6
jne 0x40101d
movzx eax, word [esp + 0x16]
mov ecx, dword [esp + 0x20]
mov word [ecx], ax
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov word [esp + 0x18], ax
mov dword [esp], 0x790d5859
jmp 0x40101d
cmp eax, 0x4af1adba
jg 0x4013bb
cmp eax, 0x3fdbf743
je 0x401524
cmp eax, 0x4ac7fc23
jne 0x40101d
imul esi, dword [esp + 4], 0x5c0
add esi, 0x53fb4
mov dword [esp + 4], esi
call section..text
mov eax, 0x19db6400
cmp esi, 0x82
jl 0x40160c
mov eax, 0xa8d65b34
jmp 0x40160c
cmp eax, 0xfe24f2fe
jg 0x401408
cmp eax, 0xd062ab77
je 0x401558
cmp eax, 0xd683e227
jne 0x40101d
mov eax, dword [esp + 8]
shr eax, 1
mov dword [esp + 8], eax
mov ecx, eax
imul ecx, eax
imul edx, ecx, 0x2c7d
dec edx
mov eax, 0xb480bf9c
cmp edx, ecx
jne 0x4015de
jmp 0x40160c
cmp eax, 0x3146f308
je 0x401578
cmp eax, 0x3400d932
jne 0x40101d
imul ecx, dword [esp + 4], 0x29000
add ecx, 0xfffffeab
mov dword [esp + 4], ecx
mov eax, 0xb245516c
cmp ecx, 0xc8
jl 0x401607
jmp 0x40160c
cmp eax, 0xa8d65b34
je 0x401592
cmp eax, 0xa943c30f
jne 0x40101d
mov esi, dword [esp + 4]
shr esi, 7
and esi, 0x1ffff
mov dword [esp + 4], esi
call section..text
mov eax, 0xb245516c
cmp esi, 0xdc
je 0x40160c
mov eax, 0x369212a8
jmp 0x40160c
cmp eax, 0x58300901
je 0x4015b5
cmp eax, 0x599439bf
jne 0x40101d
mov eax, dword [esp + 4]
shl eax, 0xe
and eax, 0xffc00000
or eax, 0x1d600
imul eax, eax, 0x71
mov dword [esp + 4], eax
mov dword [esp], 0x5e2f3263
jmp 0x40101d
cmp eax, 0xcd3bc672
je 0x4015e5
cmp eax, 0xcd3e54ed
jne 0x40101d
mov eax, dword [esp + 4]
shr eax, 7
imul eax, eax, 0x34000
or eax, 0xee
mov dword [esp + 4], eax
mov dword [esp], 0x4af1adbb
jmp 0x40101d
cmp eax, 0x29885649
je 0x401614
cmp eax, 0x2a7a1c87
jne 0x40101d
imul eax, dword [esp + 8], 0x2a
shr eax, 7
and eax, 0xffffff80
mov dword [esp + 8], eax
mov dword [esp], 0x4af1adbb
jmp 0x40101d
cmp eax, 0x8e5fff48
je 0x40162b
cmp eax, 0xa29a29d5
je 0x40156c
jmp 0x40101d
cmp eax, 0x4af1adbb
je 0x401643
cmp eax, 0x4d8532fd
jne 0x40101d
mov dword [esp + 0x24], ebx
movsx eax, bp
cmp eax, 0x43e
jle 0x401695
cmp eax, 0x818
jg 0x4016b0
lea eax, [ebp - 0x43f]
cmp ax, 4
ja 0x4016c8
mov ecx, 0x13
jmp 0x4016a9
cmp eax, 0xfe24f2ff
je 0x401657
cmp eax, 0x6b584ae
je 0x4016c8
jmp 0x40101d
mov eax, dword [esp + 4]
shl eax, 4
add eax, 0xa50
mov dword [esp + 4], eax
mov dword [esp], 0x839ecce6
jmp 0x40101d
imul ecx, dword [esp + 4], 0x4042
add ecx, 0xffd290be
mov dword [esp + 4], ecx
mov eax, 0x3fdbf743
cmp ecx, 5
jae 0x40160c
mov eax, 0x599439bf
jmp 0x40160c
movzx eax, word [esp + 0x18]
mov word [esp + 0x2c], ax
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
mov word [esp + 0x2e], ax
mov dword [esp], 0x4d8532fd
xor ebx, ebx
movzx ebp, word [esp + 0x14]
jmp 0x40101d
call edi
mov word [esp + 0x16], ax
mov dword [esp], 0x2a7a1c87
jmp 0x40101d
mov eax, dword [esp + 8]
shl eax, 5
add eax, 0xfffffcbe
mov dword [esp + 8], eax
mov dword [esp], 0xab7efe50
jmp 0x40101d
mov esi, dword [esp + 4]
shl esi, 0xa
add esi, 0xfffe0796
shr esi, 0xd
add esi, 0xffffff34
mov dword [esp + 4], esi
call section..text
mov eax, 0x8330342a
cmp esi, 0xdf
jae 0x40160c
mov eax, 0xcd3e54ed
jmp 0x40160c
mov ecx, dword [esp + 4]
mov eax, 0x140
add ecx, eax
mov dword [esp + 4], ecx
mov eax, 0x5e2f3263
cmp ecx, 0x92
jae 0x40160c
mov eax, 0x4af1adbb
jmp 0x40160c
imul esi, dword [esp + 4], 0x1b04
add esi, 0xfff11f7e
mov dword [esp + 4], esi
call section..text
call section..text
mov eax, 0x29885649
cmp esi, 0x42
jl 0x40160c
mov eax, 0xcd3bc672
jmp 0x40160c
mov eax, dword [esp + 4]
shr eax, 5
imul eax, eax, 0x320000
shr eax, 0x15
mov dword [esp + 4], eax
mov dword [esp], 0x29885649
jmp 0x40101d
imul eax, dword [esp + 8], 0x68
add eax, 0xffffafdd
mov dword [esp + 8], eax
mov dword [esp], 0x839ecce6
jmp 0x40101d
imul eax, dword [esp + 4], 0x1120
shr eax, 0x16
imul ecx, eax, 0x53
mov dword [esp + 4], ecx
mov eax, 0x38fc521a
cmp ecx, 0x1e
jae 0x40160c
mov eax, 0x58300901
jmp 0x40160c
mov ecx, dword [esp + 4]
add ecx, 0x1d
shr ecx, 0xb
add ecx, 0xffffff4a
mov eax, ecx
shr eax, 0xa
add eax, 0xffffffd6
mov dword [esp + 4], eax
mov eax, 0x4af1adbb
cmp ecx, 0x15c00
jae 0x40160c
mov eax, 0x5e2f3263
jmp 0x40160c
mov esi, dword [esp + 4]
shr esi, 1
and esi, 0x3fffff
mov dword [esp + 4], esi
call section..text
mov eax, 0x4af1adbb
cmp esi, 0xc1
jae 0x40160c
mov eax, 0x29885649
mov dword [esp], eax
jmp 0x40101d
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov word [esp + 0x14], ax
mov dword [esp], 0xd683e227
jmp 0x40101d
imul eax, dword [esp + 8], 0x388
mov dword [esp + 8], eax
mov dword [esp], 0xc81225e2
jmp 0x40101d
lea eax, [esp + 0x2a]
mov dword [esp + 0x20], eax
mov dword [esp], 0x3146f308
jmp 0x40101d
mov eax, dword [esp + 8]
add eax, 0x61
mov ecx, eax
imul ecx, eax
imul edx, ecx, 0x37e5
dec edx
shr eax, 8
and eax, 0x7ffff
mov dword [esp + 8], eax
mov eax, 0x5e2f3263
cmp edx, ecx
je 0x401684
mov eax, 0x4d8532fd
mov dword [esp], eax
mov ebx, dword [esp + 0x10]
movzx ebp, word [esp + 0x1a]
jmp 0x40101d
lea eax, [ebp - 0x419]
cmp ax, 0x13
ja 0x4016c8
movzx eax, ax
mov ecx, 0xc8401
bt ecx, eax
jae 0x4016c8
jmp 0x4016ec
movzx eax, bp
cmp eax, 0x819
je 0x4016ec
cmp eax, 0x82c
je 0x4016ec
cmp eax, 0x843
je 0x4016ec
mov dword [esp], 0x249c2c31
jmp 0x40101d
cmp eax, 0xab7efe50
jne 0x40101d
jmp 0x4016fd
cmp eax, 0x75f2564e
jne 0x40101d
mov word [esp + 0xe], bp
mov dword [esp + 0x1c], ebx
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov word [esp + 0xe], bp
mov dword [esp + 0x1c], ebx
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret