Function at 0x402d26
Capabilities:
Identify system language via api
Parse pe header

Disassembly:
push 0x40
mov eax, 0x417aca
call fcn.0040adcd
and dword [ebp - 0x14], 0
push 4
pop edi
push edi
call fcn.00409507
pop ecx
test eax, eax
je 0x402d4b
lea ecx, [ebp - 0x4c]
mov dword [eax], ecx
jmp 0x402d4d
xor eax, eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 4], 1
call fcn.00406c03
mov dword [ebp - 0x34], eax
mov byte [eax + 0x2d], 1
mov eax, dword [ebp - 0x34]
mov dword [eax + 4], eax
mov eax, dword [ebp - 0x34]
mov dword [eax], eax
mov eax, dword [ebp - 0x34]
mov dword [eax + 8], eax
and dword [ebp - 0x30], 0
push 2
pop esi
lea eax, [ebp - 0x4c]
mov dword [ebp - 4], esi
push eax
lea ebx, [ebp - 0x18]
mov dword [ebp - 0x18], 0x36
call fcn.00404cb9
push 0x41bad4
mov ecx, eax
call fcn.00404e51
lea eax, [ebp - 0x4c]
push eax
lea ebx, [ebp - 0x18]
mov dword [ebp - 0x18], 0x1c
call fcn.00404cb9
push 0x41bad8
mov ecx, eax
call fcn.00404e51
lea eax, [ebp - 0x4c]
push eax
lea ebx, [ebp - 0x18]
mov dword [ebp - 0x18], 1
call fcn.00404cb9
push 0x41badc
mov ecx, eax
call fcn.00404e51
lea eax, [ebp - 0x4c]
push eax
lea ebx, [ebp - 0x18]
mov dword [ebp - 0x18], 0x2b
call fcn.00404cb9
push 0x41bae0
mov ecx, eax
call fcn.00404e51
lea eax, [ebp - 0x4c]
push eax
lea ebx, [ebp - 0x18]
mov dword [ebp - 0x18], 0x4d
call fcn.00404cb9
push 0x41bae4
mov ecx, eax
call fcn.00404e51
lea eax, [ebp - 0x4c]
push eax
lea ebx, [ebp - 0x18]
mov dword [ebp - 0x18], 0x2c
call fcn.00404cb9
push 0x41bae8
mov ecx, eax
call fcn.00404e51
lea eax, [ebp - 0x4c]
push eax
lea ebx, [ebp - 0x18]
mov dword [ebp - 0x18], 0x2d
call fcn.00404cb9
push 0x41baec
mov ecx, eax
call fcn.00404e51
lea eax, [ebp - 0x4c]
push eax
lea ebx, [ebp - 0x18]
mov dword [ebp - 0x18], 0x23
call fcn.00404cb9
push 0x41baf0
mov ecx, eax
call fcn.00404e51
lea eax, [ebp - 0x4c]
push eax
lea ebx, [ebp - 0x18]
mov dword [ebp - 0x18], 0x45
call fcn.00404cb9
push 0x41baf4
mov ecx, eax
call fcn.00404e51
lea eax, [ebp - 0x4c]
push eax
lea ebx, [ebp - 0x18]
mov dword [ebp - 0x18], esi
call fcn.00404cb9
push 0x41baf8
mov ecx, eax
call fcn.00404e51
lea eax, [ebp - 0x4c]
push eax
lea ebx, [ebp - 0x18]
mov dword [ebp - 0x18], 3
call fcn.00404cb9
push 0x41bafc
mov ecx, eax
call fcn.00404e51
lea eax, [ebp - 0x4c]
push eax
lea ebx, [ebp - 0x18]
mov dword [ebp - 0x18], edi
call fcn.00404cb9
push 0x41bb00
mov ecx, eax
call fcn.00404e51
push 0x1a
pop esi
lea eax, [ebp - 0x4c]
push eax
lea ebx, [ebp - 0x18]
mov dword [ebp - 0x18], esi
call fcn.00404cb9
push 0x41bb04
mov ecx, eax
call fcn.00404e51
lea eax, [ebp - 0x4c]
push eax
lea ebx, [ebp - 0x18]
mov dword [ebp - 0x18], 5
call fcn.00404cb9
push 0x41bb08
mov ecx, eax
call fcn.00404e51
lea eax, [ebp - 0x4c]
push eax
lea ebx, [ebp - 0x18]
mov dword [ebp - 0x18], 6
call fcn.00404cb9
push 0x41bb0c
mov ecx, eax
call fcn.00404e51
lea eax, [ebp - 0x4c]
push eax
lea ebx, [ebp - 0x18]
mov dword [ebp - 0x18], 0x65
call fcn.00404cb9
push 0x41bb10
mov ecx, eax
call fcn.00404e51
lea eax, [ebp - 0x4c]
push eax
lea ebx, [ebp - 0x18]
mov dword [ebp - 0x18], 0x13
call fcn.00404cb9
push 0x41bb14
mov ecx, eax
call fcn.00404e51
lea eax, [ebp - 0x4c]
push eax
lea ebx, [ebp - 0x18]
mov dword [ebp - 0x18], 9
call fcn.00404cb9
push 0x41bb18
mov ecx, eax
call fcn.00404e51
lea eax, [ebp - 0x4c]
push eax
lea ebx, [ebp - 0x18]
mov dword [ebp - 0x18], 0x25
call fcn.00404cb9
push 0x41bb1c
mov ecx, eax
call fcn.00404e51
lea eax, [ebp - 0x4c]
push eax
lea ebx, [ebp - 0x18]
mov dword [ebp - 0x18], 0x38
call fcn.00404cb9
push 0x41bb20
mov ecx, eax
call fcn.00404e51
lea eax, [ebp - 0x4c]
push eax
lea ebx, [ebp - 0x18]
mov dword [ebp - 0x18], 0x29
call fcn.00404cb9
push 0x41bb24
mov ecx, eax
call fcn.00404e51
lea eax, [ebp - 0x4c]
push eax
lea ebx, [ebp - 0x18]
mov dword [ebp - 0x18], 0xb
call fcn.00404cb9
push 0x41bb28
mov ecx, eax
call fcn.00404e51
lea eax, [ebp - 0x4c]
push eax
lea ebx, [ebp - 0x18]
mov dword [ebp - 0x18], 0xc
call fcn.00404cb9
push 0x41bb2c
mov ecx, eax
call fcn.00404e51
lea eax, [ebp - 0x4c]
push eax
lea ebx, [ebp - 0x18]
mov dword [ebp - 0x18], 0x37
call fcn.00404cb9
push 0x41bb30
mov ecx, eax
call fcn.00404e51
lea eax, [ebp - 0x4c]
push eax
lea ebx, [ebp - 0x18]
mov dword [ebp - 0x18], 7
call fcn.00404cb9
push 0x41bb34
mov ecx, eax
call fcn.00404e51
lea eax, [ebp - 0x4c]
push eax
lea ebx, [ebp - 0x18]
mov dword [ebp - 0x18], 8
call fcn.00404cb9
push 0x41bb38
mov ecx, eax
call fcn.00404e51
lea eax, [ebp - 0x4c]
push eax
lea ebx, [ebp - 0x18]
mov dword [ebp - 0x18], 0x47
call fcn.00404cb9
push 0x41bb3c
mov ecx, eax
call fcn.00404e51
lea eax, [ebp - 0x4c]
push eax
lea ebx, [ebp - 0x18]
mov dword [ebp - 0x18], 0xd
call fcn.00404cb9
push 0x41bb40
mov ecx, eax
call fcn.00404e51
lea eax, [ebp - 0x4c]
push eax
lea ebx, [ebp - 0x18]
mov dword [ebp - 0x18], 0x39
call fcn.00404cb9
push 0x41bb44
mov ecx, eax
call fcn.00404e51
lea eax, [ebp - 0x4c]
push eax
lea ebx, [ebp - 0x18]
mov dword [ebp - 0x18], 0xe
call fcn.00404cb9
push 0x41bb48
mov ecx, eax
call fcn.00404e51
lea eax, [ebp - 0x4c]
push eax
lea ebx, [ebp - 0x18]
mov dword [ebp - 0x18], 0xf
call fcn.00404cb9
push 0x41bb4c
mov ecx, eax
call fcn.00404e51
lea eax, [ebp - 0x4c]
push eax
lea ebx, [ebp - 0x18]
mov dword [ebp - 0x18], 0x21
call fcn.00404cb9
push 0x41bb50
mov ecx, eax
call fcn.00404e51
lea eax, [ebp - 0x4c]
push eax
lea ebx, [ebp - 0x18]
mov dword [ebp - 0x18], 0x10
call fcn.00404cb9
push 0x41bb54
mov ecx, eax
call fcn.00404e51
lea eax, [ebp - 0x4c]
push eax
lea ebx, [ebp - 0x18]
mov dword [ebp - 0x18], 0x11
call fcn.00404cb9
push 0x41bb58
mov ecx, eax
call fcn.00404e51
lea eax, [ebp - 0x4c]
push eax
lea ebx, [ebp - 0x18]
mov dword [ebp - 0x18], 0x4b
call fcn.00404cb9
push 0x41bb5c
mov ecx, eax
call fcn.00404e51
lea eax, [ebp - 0x4c]
push eax
lea ebx, [ebp - 0x18]
mov dword [ebp - 0x18], 0x3f
call fcn.00404cb9
push 0x41bb60
mov ecx, eax
call fcn.00404e51
lea eax, [ebp - 0x4c]
push eax
lea ebx, [ebp - 0x18]
mov dword [ebp - 0x18], 0x57
call fcn.00404cb9
push 0x41bb64
mov ecx, eax
call fcn.00404e51
lea eax, [ebp - 0x4c]
push eax
lea ebx, [ebp - 0x18]
mov dword [ebp - 0x18], 0x12
call fcn.00404cb9
push 0x41bb68
mov ecx, eax
call fcn.00404e51
mov dword [ebp - 0x18], 0x26
lea eax, [ebp - 0x4c]
push eax
lea ebx, [ebp - 0x18]
call fcn.00404cb9
push 0x41bb6c
mov ecx, eax
call fcn.00404e51
lea eax, [ebp - 0x4c]
push eax
lea ebx, [ebp - 0x18]
mov dword [ebp - 0x18], 0x27
call fcn.00404cb9
push 0x41bb70
mov ecx, eax
call fcn.00404e51
lea eax, [ebp - 0x4c]
push eax
lea ebx, [ebp - 0x18]
mov dword [ebp - 0x18], 0x2f
call fcn.00404cb9
push 0x41bb74
mov ecx, eax
call fcn.00404e51
lea eax, [ebp - 0x4c]
push eax
lea ebx, [ebp - 0x18]
mov dword [ebp - 0x18], 0x3e
call fcn.00404cb9
push 0x41bb78
mov ecx, eax
call fcn.00404e51
lea eax, [ebp - 0x4c]
push eax
lea ebx, [ebp - 0x18]
mov dword [ebp - 0x18], 0x4c
call fcn.00404cb9
push 0x41bb7c
mov ecx, eax
call fcn.00404e51
lea eax, [ebp - 0x4c]
push eax
lea ebx, [ebp - 0x18]
mov dword [ebp - 0x18], 0x4e
call fcn.00404cb9
push 0x41bb80
mov ecx, eax
call fcn.00404e51
lea eax, [ebp - 0x4c]
push eax
lea ebx, [ebp - 0x18]
mov dword [ebp - 0x18], 0x50
call fcn.00404cb9
push 0x41bb84
mov ecx, eax
call fcn.00404e51
lea eax, [ebp - 0x4c]
push eax
lea ebx, [ebp - 0x18]
mov dword [ebp - 0x18], 0x61
call fcn.00404cb9
push 0x41bb88
mov ecx, eax
call fcn.00404e51
lea eax, [ebp - 0x4c]
push eax
lea ebx, [ebp - 0x18]
mov dword [ebp - 0x18], 0x14
call fcn.00404cb9
push 0x41bb8c
mov ecx, eax
call fcn.00404e51
lea eax, [ebp - 0x4c]
push eax
lea ebx, [ebp - 0x18]
mov dword [ebp - 0x18], 0x48
call fcn.00404cb9
push 0x41bb90
mov ecx, eax
call fcn.00404e51
mov dword [ebp - 0x18], 0x15
lea eax, [ebp - 0x4c]
push eax
lea ebx, [ebp - 0x18]
call fcn.00404cb9
push 0x41bb94
mov ecx, eax
call fcn.00404e51
lea eax, [ebp - 0x4c]
push eax
lea ebx, [ebp - 0x18]
mov dword [ebp - 0x18], 0x16
call fcn.00404cb9
push 0x41bb98
mov ecx, eax
call fcn.00404e51
lea eax, [ebp - 0x4c]
push eax
lea ebx, [ebp - 0x18]
mov dword [ebp - 0x18], 0x46
call fcn.00404cb9
push 0x41bb9c
mov ecx, eax
call fcn.00404e51
lea eax, [ebp - 0x4c]
push eax
lea ebx, [ebp - 0x18]
mov dword [ebp - 0x18], 0x18
call fcn.00404cb9
push 0x41bba0
mov ecx, eax
call fcn.00404e51
lea eax, [ebp - 0x4c]
push eax
lea ebx, [ebp - 0x18]
mov dword [ebp - 0x18], 0x19
call fcn.00404cb9
push 0x41bba4
mov ecx, eax
call fcn.00404e51
lea eax, [ebp - 0x4c]
push eax
lea ebx, [ebp - 0x18]
mov dword [ebp - 0x18], 0x4f
call fcn.00404cb9
push 0x41ba84
mov ecx, eax
call fcn.00404e51
lea eax, [ebp - 0x4c]
push eax
lea ebx, [ebp - 0x18]
mov dword [ebp - 0x18], esi
call fcn.00404cb9
push 0x41bba8
mov ecx, eax
call fcn.00404e51
lea eax, [ebp - 0x4c]
push eax
lea ebx, [ebp - 0x18]
mov dword [ebp - 0x18], 0x1b
call fcn.00404cb9
push 0x41bbac
mov ecx, eax
call fcn.00404e51
lea eax, [ebp - 0x4c]
push eax
lea ebx, [ebp - 0x18]
mov dword [ebp - 0x18], 0x24
call fcn.00404cb9
push 0x41bbb0
mov ecx, eax
call fcn.00404e51
lea eax, [ebp - 0x4c]
push eax
lea ebx, [ebp - 0x18]
mov dword [ebp - 0x18], 0xa
call fcn.00404cb9
push 0x41bbb4
mov ecx, eax
call fcn.00404e51
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x18], 0x41
push eax
lea ebx, [ebp - 0x18]
call fcn.00404cb9
push 0x41bbb8
mov ecx, eax
call fcn.00404e51
lea eax, [ebp - 0x4c]
push eax
lea ebx, [ebp - 0x18]
mov dword [ebp - 0x18], 0x1d
call fcn.00404cb9
push 0x41bbbc
mov ecx, eax
call fcn.00404e51
lea eax, [ebp - 0x4c]
push eax
lea ebx, [ebp - 0x18]
mov dword [ebp - 0x18], 0x5a
call fcn.00404cb9
push 0x41bbc0
mov ecx, eax
call fcn.00404e51
lea eax, [ebp - 0x4c]
push eax
lea ebx, [ebp - 0x18]
mov dword [ebp - 0x18], 0x49
call fcn.00404cb9
push 0x41bbc4
mov ecx, eax
call fcn.00404e51
lea eax, [ebp - 0x4c]
push eax
lea ebx, [ebp - 0x18]
mov dword [ebp - 0x18], 0x44
call fcn.00404cb9
push 0x41bbc8
mov ecx, eax
call fcn.00404e51
lea eax, [ebp - 0x4c]
push eax
lea ebx, [ebp - 0x18]
mov dword [ebp - 0x18], 0x4a
call fcn.00404cb9
push 0x41bbcc
mov ecx, eax
call fcn.00404e51
lea eax, [ebp - 0x4c]
push eax
lea ebx, [ebp - 0x18]
mov dword [ebp - 0x18], 0x1e
call fcn.00404cb9
push 0x41bbd0
mov ecx, eax
call fcn.00404e51
lea eax, [ebp - 0x4c]
push eax
lea ebx, [ebp - 0x18]
mov dword [ebp - 0x18], 0x1f
call fcn.00404cb9
push 0x41bbd4
mov ecx, eax
call fcn.00404e51
lea eax, [ebp - 0x4c]
push eax
lea ebx, [ebp - 0x18]
mov dword [ebp - 0x18], 0x22
call fcn.00404cb9
push 0x41bbd8
mov ecx, eax
call fcn.00404e51
lea eax, [ebp - 0x4c]
push eax
lea ebx, [ebp - 0x18]
mov dword [ebp - 0x18], 0x20
call fcn.00404cb9
push 0x41bbdc
mov ecx, eax
call fcn.00404e51
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x18], 0x43
push eax
lea ebx, [ebp - 0x18]
call fcn.00404cb9
push 0x41bbe0
mov ecx, eax
call fcn.00404e51
lea eax, [ebp - 0x4c]
push eax
lea ebx, [ebp - 0x18]
mov dword [ebp - 0x18], 0x2a
call fcn.00404cb9
push 0x41bbe4
mov ecx, eax
call fcn.00404e51
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx eax, ax
and eax, 0x3ff
mov ebx, eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x24]
lea esi, [ebp - 0x4c]
mov dword [ebp - 0x18], ebx
call fcn.00405abc
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x4c]
lea edi, [ebp - 0x1c]
lea esi, [ebp - 0x24]
mov dword [ebp - 0x1c], eax
call fcn.004057a6
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x4c]
test al, al
jne 0x40363a
mov eax, dword [ebp - 0x20]
cmp ebx, dword [eax + 0xc]
jb 0x40363a
mov eax, esi
jmp 0x403643
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], edx
lea eax, [ebp - 0x2c]
mov esi, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x1c], esi
lea edi, [ebp - 0x2c]
lea esi, [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], edx
call fcn.004057a6
test al, al
jne 0x403676
call fcn.00405b22
mov ecx, dword [ebp + 8]
add eax, 4
push eax
call fcn.00404868
jmp 0x403683
mov ecx, dword [ebp + 8]
push 0x41bb18
call fcn.00404846
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x14], 1
mov byte [ebp - 4], 0
call fcn.00404d67
mov eax, dword [ebp + 8]
call fcn.0040ae6c
ret