Function at 0x41f6f1
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
cmp dword [0x43ac0c], edi
jne 0x41f712
cmp byte [0x43abce], 0
jne 0x41f712
push 1
xor eax, eax
pop ebx
jmp 0x41f717
push 1
pop ebx
mov eax, ebx
add word [0x43abdc], ax
push 0xaa5bffff
movsx eax, byte [0x43abcb]
push eax
call fcn.004118af
add byte [0x43abd0], al
push 0x2f87ffff
movsx eax, byte [0x43abcb]
push eax
call fcn.00411906
mov esi, dword [ebp + 0x18]
mov dword [0x43abf0], eax
add esp, 0x10
mov eax, dword [esi]
cmp eax, edi
je 0x41f761
push eax
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
push 0x5c71ffff
push 0xc249ffff
call fcn.00411864
add word [0x43abd8], ax
cmp dword [ebp + 0x20], edi
pop ecx
pop ecx
jne 0x41f87e
movsx eax, byte [0x43abca]
push eax
push dword [0x43abec]
call fcn.00411906
mov edi, dword [ebp + 0x14]
add byte [0x43abce], al
push edi
call dword [sym.imp.MSVCRT.dll_malloc]
add esp, 0xc
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov word [0x43abde], ax
mov al, byte [0x43abcf]
neg al
mov byte [0x43abc9], al
mov ecx, 0x22bfffff
movsx eax, word [0x43abda]
sub ecx, eax
add dword [0x43ac0c], ecx
cmp dword [esi], 0
je 0x41fe8c
push 0x387fffff
push 0x3d7ffff
call fcn.00411906
mov word [0x43abe4], ax
push 0xb3f7ffff
movsx eax, byte [0x43abcb]
and eax, 0x3625ffff
add dword [0x43abfc], eax
mov eax, dword [ebp + 0x1c]
mov dword [eax], edi
movsx eax, byte [0x43abcf]
push eax
call fcn.0041181a
mov word [0x43abe2], ax
movsx eax, word [0x43abd2]
push eax
push 0x5fcbffff
call fcn.0041181a
add byte [0x43abcd], al
push edi
push dword [ebp + 8]
push dword [esi]
call sub.MSVCRT.dll_memcpy
movsx eax, word [0x43abe2]
push 0xf267ffff
push eax
call fcn.004117b3
add byte [0x43abcb], al
movsx eax, word [0x43abe0]
push eax
push dword [0x43abfc]
call fcn.00411906
add esp, 0x34
mov byte [0x43abd0], al
jmp 0x41fa72
push dword [0x43abf0]
push 0x3993ffff
call fcn.00411864
mov byte [0x43abc9], al
mov ax, word [0x43abfc]
add word [0x43abd4], ax
cmp byte [0x43abcd], 0
pop ecx
pop ecx
jne 0x41f8ba
cmp byte [0x43abd0], 0
mov dword [0x43abf8], edi
je 0x41f8c0
mov dword [0x43abf8], ebx
cmp dword [ebp + 8], edi
jne 0x41fa79
push 0xbf67ffff
push 0x8f03ffff
call fcn.00411738
pop ecx
mov dword [0x43ac00], eax
pop ecx
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
add byte [0x43abcf], al
mov eax, dword [0x43ac00]
inc eax
test byte [ebp + 0x20], 1
mov word [0x43abdc], ax
je 0x41f9b5
movsx eax, word [0x43abe2]
push 0x6777ffff
push eax
call fcn.0041181a
push dword [ebp + 0xc]
add word [0x43abd8], ax
dec byte [0x43abd0]
call sub.MSVCRT.dll_strlen
push dword [ebp + 0x10]
mov edi, eax
call sub.MSVCRT.dll_strlen
push 0xa765ffff
push 0x5f67ffff
lea edi, [edi + eax + 3]
call fcn.00411906
add byte [0x43abcb], al
push edi
call dword [sym.imp.MSVCRT.dll_malloc]
push dword [ebp + 0xc]
mov dword [esi], eax
push eax
call sub.MSVCRT.dll_strcpy
push dword [ebp + 0x10]
push dword [esi]
call sub.MSVCRT.dll_strcat
mov edi, dword [0x434360]
add esp, 0x2c
mov al, byte [edi]
add al, 0x76
movzx eax, al
add eax, 3
and al, 0xfc
call fcn.0042f2f0
mov ecx, esp
mov edx, edi
call fcn.0042b788
push eax
push dword [esi]
call sub.MSVCRT.dll_strcat
push 0xcd8fffff
push 0x358bffff
call fcn.004118af
add byte [0x43abc8], al
mov eax, dword [ebp + 0x1c]
add esp, 0x10
or dword [eax], 0xffffffff
jmp 0x41fa72
mov al, byte [0x43abcc]
sub al, byte [0x43abc8]
mov byte [0x43abcb], al
movsx eax, word [0x43abd2]
push eax
push dword [0x43ac08]
call fcn.00411775
add byte [0x43abcf], al
movsx eax, word [0x43abd8]
push eax
push 0x218dffff
call fcn.004116b5
add dword [0x43ac08], eax
mov dword [esi], edi
mov ax, word [0x43abf8]
push 0x2709ffff
sub word [0x43abd6], ax
movsx eax, word [0x43abde]
push eax
call fcn.004118af
add byte [0x43abcf], al
push 0x6227ffff
push 0x38abffff
call fcn.00411906
mov word [0x43abd2], ax
mov eax, dword [ebp + 0x1c]
push 0x9369ffff
push 0xa7b7ffff
or dword [eax], 0xffffffff
mov dword [0x43abfc], 0x2879ffff
call fcn.00411864
add dword [0x43ac04], eax
movsx eax, byte [0x43abcd]
push eax
push dword [0x43abe8]
call fcn.004118af
add esp, 0x30
mov byte [0x43abc9], al
mov eax, ebx
jmp 0x41ff0d
mov eax, dword [ebp + 0x14]
cmp eax, 0xffffffff
jne 0x41fa8a
push dword [ebp + 8]
call sub.MSVCRT.dll_strlen
pop ecx
mov dword [ebp + 0x18], eax
push 0xf0f1ffff
movsx eax, word [0x43abe2]
push eax
call fcn.00411775
or word [0x43abe2], 0xffff
push 0x7913ffff
push 0x8837ffff
mov byte [0x43abd0], al
call fcn.004117b3
mov word [0x43abd2], ax
movsx eax, byte [0x43abc8]
push eax
push 0x6c8dffff
call fcn.0041181a
add word [0x43abd8], ax
mov eax, dword [ebp + 0x20]
add esp, 0x18
and eax, 8
mov dword [ebp - 4], eax
je 0x41faf0
mov eax, dword [ebp + 0x18]
lea ebx, [eax + 1]
jmp 0x41fb0d
push dword [ebp + 0xc]
call sub.MSVCRT.dll_strlen
push dword [ebp + 0x10]
mov ebx, eax
call sub.MSVCRT.dll_strlen
pop ecx
pop ecx
mov ecx, dword [ebp + 0x18]
add ecx, ebx
lea ebx, [eax + ecx + 3]
push dword [0x43abf0]
push 0x3b13ffff
call fcn.0041181a
pop ecx
mov dword [0x43abfc], eax
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
add word [0x43abe0], ax
push ebx
call dword [sym.imp.MSVCRT.dll_malloc]
xor ebx, ebx
pop ecx
cmp eax, ebx
mov dword [esi], eax
je 0x41fe8c
push 0x30abffff
push 0x4d75ffff
call fcn.004117b3
push dword [0x43abf4]
mov byte [0x43abcf], al
push 0xd733ffff
call fcn.004117ef
add dword [0x43abf4], eax
add esp, 0x10
cmp dword [0x43abfc], ebx
je 0x41fb8d
cmp word [0x43abd2], bx
mov dword [0x43abec], 1
jne 0x41fb93
mov dword [0x43abec], ebx
mov eax, dword [esi]
and byte [ebp + 0x17], 0
and byte [eax], 0
mov al, byte [0x43abe2]
sub al, byte [0x43abd6]
add byte [0x43abca], al
je 0x41fbc0
cmp dword [0x43abec], ebx
mov word [0x43abd4], 1
jne 0x41fbc7
mov word [0x43abd4], bx
mov eax, dword [0x43abfc]
inc eax
add word [0x43abd8], ax
test byte [ebp + 0x20], 0xe
je 0x41fe12
push 0x1db3ffff
push dword [0x43ac0c]
call fcn.004116b5
add word [0x43abe4], ax
push 0xbf19ffff
push 0x1dfdffff
call fcn.00411738
add dword [0x43abe8], eax
add esp, 0x10
cmp dword [ebp + 0x18], ebx
jbe 0x41fe12
movsx eax, word [0x43abd4]
movsx ecx, byte [0x43abce]
push dword [ebp + 0xc]
or eax, ecx
mov dword [0x43abf0], eax
call sub.MSVCRT.dll_strlen
mov ebx, dword [ebp + 8]
push eax
push dword [ebp + 0xc]
lea eax, [edi + ebx]
push eax
call dword [sym.imp.MSVCRT.dll__strnicmp]
add esp, 0x10
test eax, eax
je 0x41fcdf
movsx eax, word [0x43abe4]
push eax
push dword [0x43ac00]
call fcn.004117ef
pop ecx
sub eax, 0x79cc0000
pop ecx
mov dword [0x43abec], eax
cmp edi, dword [ebp + 0x18]
jae 0x41fc81
mov al, byte [edi + ebx]
cmp al, 0xa
je 0x41fc81
cmp al, 0xd
je 0x41fc81
inc edi
jmp 0x41fc6e
push dword [0x43abe8]
dec byte [0x43abd1]
push 0x9839ffff
call fcn.004118af
mov byte [0x43abca], al
push 0xf3a7ffff
movsx eax, byte [0x43abd1]
push eax
call fcn.004118af
add esp, 0x10
cmp edi, dword [ebp + 0x18]
mov word [0x43abda], ax
jae 0x41fe15
mov al, byte [edi + ebx]
cmp al, 0xa
je 0x41fccb
cmp al, 0xd
jne 0x41fcd1
inc edi
cmp edi, dword [ebp + 0x18]
jb 0x41fcc0
cmp edi, dword [ebp + 0x18]
jb 0x41fc16
jmp 0x41fe15
push edi
push ebx
push dword [esi]
call dword [sym.imp.MSVCRT.dll_strncpy]
mov eax, dword [esi]
add esp, 0xc
and byte [eax + edi], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push dword [ebp + 0xc]
add word [0x43abe2], ax
call sub.MSVCRT.dll_strlen
push dword [0x43abfc]
add edi, eax
push dword [0x43ac0c]
call fcn.00411906
push dword [0x43ac08]
add dword [0x43abf8], eax
mov byte [0x43abcb], 1
push dword [0x43abf4]
call fcn.00411706
add word [0x43abda], ax
add esp, 0x14
test byte [ebp + 0x20], 0xa
je 0x41fdae
test byte [ebp + 0x20], 2
je 0x41fd65
push dword [ebp + 0xc]
push dword [esi]
call sub.MSVCRT.dll_strcat
push dword [ebp + 0x10]
push dword [esi]
call sub.MSVCRT.dll_strcat
add esp, 0x10
movsx eax, word [0x43abd4]
push 0xcef9ffff
push eax
call fcn.0041181a
add word [0x43abde], ax
pop ecx
pop ecx
cmp edi, dword [ebp + 0x18]
jae 0x41fd93
mov al, byte [edi + ebx]
cmp al, 0xa
je 0x41fd93
cmp al, 0xd
je 0x41fd93
inc edi
jmp 0x41fd80
push dword [0x43abe8]
push 0x97a7ffff
call fcn.00411864
add word [0x43abda], ax
pop ecx
pop ecx
jmp 0x41fded
test byte [ebp + 0x20], 4
je 0x41fded
push dword [ebp + 0x10]
push dword [esi]
call sub.MSVCRT.dll_strcat
movsx eax, byte [0x43abc8]
push 0x803bffff
push eax
call fcn.00411864
push 0xcb57ffff
push 0x6be1ffff
mov word [0x43abe2], ax
call fcn.004117b3
add esp, 0x18
mov dword [0x43abec], eax
movsx eax, byte [0x43abd0]
and eax, dword [0x43ac00]
add edi, ebx
push edi
add dword [0x43abf0], eax
push dword [esi]
call sub.MSVCRT.dll_strcat
pop ecx
mov byte [ebp + 0x17], 1
pop ecx
jmp 0x41fe15
mov ebx, dword [ebp + 8]
mov al, byte [0x43abde]
add al, byte [0x43abcd]
add byte [0x43abcc], al
cmp dword [ebp - 4], 0
je 0x41fe90
cmp byte [ebp + 0x17], 0
jne 0x41fe90
push dword [esi]
call dword [sym.imp.MSVCRT.dll_free]
movsx eax, word [0x43abd2]
push 0x9cc7ffff
push eax
call fcn.004117ef
mov byte [0x43abc9], al
and dword [esi], 0
movsx eax, word [0x43abe0]
push dword [0x43abe8]
push eax
call fcn.00411706
add word [0x43abd4], ax
mov al, byte [0x43abfc]
neg al
mov byte [0x43abcb], al
add esp, 0x14
movsx ax, byte [0x43abce]
add word [0x43abe4], ax
xor eax, eax
jmp 0x41ff0d
push 0x2653ffff
push 0xfe71ffff
call fcn.004117b3
add byte [0x43abcc], al
pop ecx
test byte [ebp + 0x20], 1
pop ecx
je 0x41fefd
cmp byte [ebp + 0x17], 0
jne 0x41fefd
push dword [ebp + 0xc]
push dword [esi]
call sub.MSVCRT.dll_strcpy
push dword [ebp + 0x10]
push dword [esi]
call sub.MSVCRT.dll_strcat
mov edi, dword [0x434360]
add esp, 0x10
mov al, byte [edi]
add al, 0x76
movzx eax, al
add eax, 3
and al, 0xfc
call fcn.0042f2f0
mov ecx, esp
mov edx, edi
call fcn.0042b788
push eax
push dword [esi]
call sub.MSVCRT.dll_strcat
push ebx
push dword [esi]
call sub.MSVCRT.dll_strcat
add esp, 0x10
mov eax, dword [ebp + 0x1c]
inc word [0x43abe4]
push 1
or dword [eax], 0xffffffff
pop eax
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
leave
ret