Function at 0x4073f0
Capabilities:
Identify system language via api

Disassembly:
push ebp
lea ebp, [esp - 0x11c]
sub esp, 0x11c
push 0xffffffffffffffff
push 0x42c910
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x439e3c]
xor eax, ebp
mov dword [ebp + 0x118], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
push 0x42ef48
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x44], edi
call fcn.00403fa0
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.00411ab5
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x40745d
push 0x80004005
call fcn.00401560
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
call fcn.00411ab5
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x40748a
push 0x80004005
call fcn.00401560
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 2
call fcn.00411ab5
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4074b7
push 0x80004005
call fcn.00401560
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 3
call fcn.00411ab5
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4074e4
push 0x80004005
call fcn.00401560
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x3c], eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 4
call fcn.00403b40
lea ecx, [ebp]
mov byte [ebp - 4], 5
call fcn.0040a837
mov dword [ebp + 0xc], ebx
mov dword [ebp + 0x10], ebx
mov dword [ebp], vtable.CUserException.0
push str.autorun.inf
lea ecx, [edi + 0xac]
push ecx
lea edx, [ebp - 0x40]
push edx
mov byte [ebp - 4], 6
call fcn.00405960
add esp, 0xc
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 7
call fcn.0040a928
mov eax, dword [ebp - 0x40]
push ebx
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x18], esp
mov esi, esp
push eax
mov byte [ebp - 4], 9
call fcn.004026d0
add eax, 0x10
add esp, 4
lea ecx, [ebp - 0x38]
mov dword [esi], eax
call fcn.00404040
test al, al
je 0x407570
call fcn.0040b8cd
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push 0x42ef2c
call fcn.00403fa0
lea eax, [ebp - 0x14]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push 0x42ef18
mov byte [ebp - 4], 0xa
call fcn.00406ed0
mov eax, dword [ebp - 0x20]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x28], esp
mov esi, esp
push eax
mov byte [ebp - 4], 0xb
call fcn.004026d0
add eax, 0x10
mov dword [esi], eax
add esp, 4
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 9
call fcn.00404110
test al, al
jne 0x40775e
push 0x42ef14
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00405550
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xc
call fcn.00403e60
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
mov byte [ebp - 4], 9
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40760b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov bl, 0xe
lea ecx, [ecx]
mov ecx, dword [ebp - 0x14]
cmp dword [ecx - 0xc], 0
je 0x40775c
mov esi, dword [ebp - 0x2c]
mov eax, dword [esi - 0xc]
push eax
lea edx, [ebp - 0x30]
push edx
lea ecx, [ebp - 0x14]
call fcn.00405930
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xd
call fcn.00403e60
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
mov byte [ebp - 4], 9
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407660
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esi - 8]
mov eax, 1
sub eax, dword [esi - 4]
or ecx, eax
jge 0x40767c
push 0
lea ecx, [ebp - 0x2c]
call fcn.00402680
mov esi, dword [ebp - 0x2c]
push esi
call fcn.004194ce
add esp, 4
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [edi + 0x74]
mov dword [ebp - 0x28], eax
call fcn.004044a0
push 0x42ef14
lea edx, [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x14]
call fcn.00405510
mov eax, dword [ebp - 0x1c]
cmp dword [eax - 0xc], 0
mov byte [ebp - 4], bl
je 0x4076f0
mov eax, dword [eax - 0xc]
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x14]
call fcn.00405930
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xf
call fcn.00403e60
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4076f0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x42ef14
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00405550
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x10
call fcn.00403e60
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x407730
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
mov byte [ebp - 4], 9
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407610
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x407610
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
cmp ax, 0x404
mov word [edi + 0x2fda], ax
je 0x4077a2
cmp ax, 0x1404
je 0x4077a2
cmp ax, 0xc04
je 0x4077a2
cmp ax, 0x804
je 0x407797
cmp ax, 0x1004
je 0x407797
and eax, 0x3ff
mov word [edi + 0x2fda], ax
jmp 0x4077ab
mov word [edi + 0x2fda], 0x804
jmp 0x4077ab
mov word [edi + 0x2fda], 0x404
movzx ecx, word [edi + 0x2fda]
push ebx
lea edx, [ebp - 0x18]
mov dword [ebp - 0x18], ecx
push edx
lea ecx, [edi + 0x74]
call fcn.00405040
cmp eax, ebx
jne 0x4077d4
mov eax, dword [edi + 0x78]
mov cx, word [eax + 8]
mov word [edi + 0x2fda], cx
movzx edx, word [edi + 0x2fda]
push edx
lea eax, [ebp - 0x18]
push eax
call fcn.0040a550
add esp, 8
push eax
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x11
call fcn.00403e60
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov byte [ebp - 4], 9
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407818
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push 0x42ef2c
call fcn.00403fa0
lea ecx, [ebp - 0x14]
push ecx
push ecx
mov edx, esp
mov dword [ebp - 0x24], esp
lea eax, [ebp - 0x3c]
push eax
push str.ResDLL
push edx
mov byte [ebp - 4], 0x12
call fcn.00405a40
add esp, 0xc
mov eax, dword [ebp - 0x20]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x28], esp
mov esi, esp
push eax
mov byte [ebp - 4], 0x13
call fcn.004026d0
add eax, 0x10
mov dword [esi], eax
add esp, 4
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 9
call fcn.00404110
mov ebx, dword [ebp - 0x44]
lea ecx, [ebp - 0x14]
lea edi, [ebx + 0xb0]
push ecx
mov ecx, edi
call fcn.00403e60
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push 0x42ef2c
call fcn.00403fa0
lea edx, [ebp - 0x14]
push edx
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.ResID
mov byte [ebp - 4], 0x14
call fcn.00406ed0
mov eax, dword [ebp - 0x20]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x28], esp
mov esi, esp
push eax
mov byte [ebp - 4], 0x15
call fcn.004026d0
add eax, 0x10
mov dword [esi], eax
add esp, 4
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 9
call fcn.00404110
lea eax, [ebp - 0x14]
lea esi, [ebx + 0xb4]
push eax
mov ecx, esi
call fcn.00403e60
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
je 0x407966
mov ecx, dword [esi]
cmp dword [ecx - 0xc], 0
je 0x407966
push eax
call fcn.0040a3a0
add esp, 4
test al, al
jne 0x407958
push edi
lea edx, [ebx + 0xac]
push edx
lea eax, [ebp - 0x18]
push eax
call fcn.00403ee0
add esp, 0xc
push eax
mov ecx, edi
mov byte [ebp - 4], 0x16
call fcn.00403e60
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov byte [ebp - 4], 9
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407949
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [edi]
push eax
call fcn.0040a3a0
add esp, 4
test al, al
je 0x407966
mov byte [ebx + 0x2fd8], 1
mov byte [ebx + 0x2fd9], 1
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push 0x42ef2c
call fcn.00403fa0
lea ecx, [ebp - 0x14]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.Font
mov byte [ebp - 4], 0x17
call fcn.00406ed0
mov eax, dword [ebp - 0x20]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x28], esp
mov esi, esp
push eax
mov byte [ebp - 4], 0x18
call fcn.004026d0
add eax, 0x10
mov dword [esi], eax
add esp, 4
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 9
call fcn.00404110
mov eax, dword [ebp - 0x14]
mov ecx, 0x42eab8
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4079e6
test dx, dx
je 0x4079e2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4079e6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4079c0
xor eax, eax
jmp 0x4079eb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
setne al
test al, al
je 0x407a03
lea edx, [ebp - 0x14]
lea ecx, [ebx + 0xa8]
push edx
call fcn.00403e60
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push 0x42ef2c
call fcn.00403fa0
lea eax, [ebp - 0x14]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.TextColor
mov byte [ebp - 4], 0x19
call fcn.00406ed0
mov eax, dword [ebp - 0x20]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x28], esp
mov esi, esp
push eax
mov byte [ebp - 4], 0x1a
call fcn.004026d0
add eax, 0x10
mov dword [esi], eax
add esp, 4
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 9
call fcn.00404110
mov edi, dword [ebp - 0x14]
mov ecx, 0x42eab8
mov eax, edi
nop
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x407a86
test dx, dx
je 0x407a82
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x407a86
add eax, 4
add ecx, 4
test dx, dx
jne 0x407a60
xor eax, eax
jmp 0x407a8b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
setne al
test al, al
je 0x407ab8
push ecx
lea eax, [edi - 0x10]
mov dword [ebp - 0x18], esp
mov esi, esp
push eax
call fcn.004026d0
add eax, 0x10
add esp, 4
mov ecx, ebx
mov dword [esi], eax
call fcn.00406b10
mov dword [ebx + 0x2fe0], eax
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
push 0x42ef2c
call fcn.00403fa0
lea ecx, [ebp - 0x14]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push 0x42eeb0
mov byte [ebp - 4], 0x1b
call fcn.00406ed0
mov eax, dword [ebp - 0x20]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x28], esp
mov esi, esp
push eax
mov byte [ebp - 4], 0x1c
call fcn.004026d0
add eax, 0x10
mov dword [esi], eax
add esp, 4
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 9
call fcn.00404110
mov edi, dword [ebp - 0x14]
mov ecx, 0x42eab8
mov eax, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x407b3a
test dx, dx
je 0x407b36
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x407b3a
add eax, 4
add ecx, 4
test dx, dx
jne 0x407b14
xor eax, eax
jmp 0x407b3f
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
setne al
test al, al
je 0x407b6c
push ecx
lea eax, [edi - 0x10]
mov dword [ebp - 0x18], esp
mov esi, esp
push eax
call fcn.004026d0
add eax, 0x10
add esp, 4
mov ecx, ebx
mov dword [esi], eax
call fcn.00406b10
mov dword [ebx + 0x2fe4], eax
mov dword [ebp - 4], 8
mov byte [ebp - 4], 7
call fcn.0040a93e
mov eax, dword [ebp - 0x40]
add eax, 0xfffffff0
mov byte [ebp - 4], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407b9f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x38]
mov dword [ebp], vtable.CUserException.0
mov byte [ebp - 4], 4
call fcn.00403b80
mov eax, dword [ebp - 0x3c]
add eax, 0xfffffff0
mov byte [ebp - 4], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407bd5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407bf8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x48]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407c1b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407c3e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407c64
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x118]
xor ecx, ebp
call fcn.0041865d
add ebp, 0x11c
mov esp, ebp
pop ebp
ret