Function at 0x4ab540
Capabilities:
Extract resource via kernel32 functions
Get geographical location
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59f431
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x61ce74]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
movzx eax, word [ebp + 8]
push 0x5c9b74
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4ab804
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4ab804
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x4ab804
push eax
mov ecx, ebx
call fcn.004abf70
test eax, eax
je 0x4ab804
mov eax, dword [ebx + 4]
sub eax, 0x10
push eax
call fcn.00425f70
add esp, 4
or ecx, 0xffffffff
mov esi, dword [eax + 4]
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x4ab5e1
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
test esi, esi
jne 0x4ab7fd
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
push 0xaa
movzx esi, ax
lea eax, [ebp - 0xbc]
push 0
push eax
call fcn.00540d70
mov edi, dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea eax, [ebp - 0xbc]
add esp, 0xc
push 0x55
push eax
push 0x59
push esi
call edi
test eax, eax
je 0x4ab6d6
push 0x5c9b88
lea eax, [ebp - 0xbc]
push 0x55
push eax
call fcn.0055418d
lea ecx, [ebp - 0xbc]
add esp, 0xc
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4ab643
sub ecx, edx
lea eax, [ebp - 0xbc]
sar ecx, 1
push 0x55
lea eax, [eax + ecx*2]
push eax
push 0x5a
push esi
call edi
test eax, eax
je 0x4ab6d6
call fcn.00421b80
test eax, eax
je 0x4ab824
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0xc0], eax
lea eax, [ebp - 0xbc]
mov dword [ebp - 4], 0
test eax, 0xffff0000
jne 0x4ab6a9
movzx eax, ax
lea ecx, [ebp - 0xc0]
push eax
call fcn.00426130
jmp 0x4ab6f3
lea ecx, [ebp - 0xbc]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4ab6b2
sub ecx, edx
lea eax, [ebp - 0xbc]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0xc0]
call fcn.004263f0
jmp 0x4ab6f3
call fcn.00421b80
mov ecx, eax
test ecx, ecx
je 0x4ab824
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0xc0], eax
lea eax, [ebp - 0xc0]
mov dword [ebp - 4], 1
push eax
mov ecx, ebx
call fcn.004acf90
lea ecx, [ebp - 0xc0]
mov dword [ebp - 4], 0xffffffff
call fcn.00425b40
lea eax, [ebp - 0xc0]
mov ecx, ebx
push eax
call fcn.004ab3c0
lea ecx, [ebp - 0xc0]
mov eax, dword [eax]
mov esi, dword [eax - 0xc]
call fcn.00425b40
test esi, esi
jne 0x4ab7fd
lea eax, [ebp - 0xc0]
mov ecx, ebx
push eax
call fcn.004ab3c0
lea ecx, [ebp - 0xc0]
mov eax, dword [eax]
mov esi, dword [eax - 0xc]
call fcn.00425b40
test esi, esi
jne 0x4ab804
mov ecx, dword [ebx + 0x1c]
mov edx, dword [ecx]
mov eax, edx
cmp eax, ecx
je 0x4ab7f2
mov edx, dword [eax + 8]
mov esi, str.en_US
lea ecx, [ecx]
mov di, word [edx]
cmp di, word [esi]
jne 0x4ab7a6
test di, di
je 0x4ab7a2
mov di, word [edx + 2]
cmp di, word [esi + 2]
jne 0x4ab7a6
add edx, 4
add esi, 4
test di, di
jne 0x4ab780
xor edx, edx
jmp 0x4ab7ab
sbb edx, edx
or edx, 1
test edx, edx
je 0x4ab7b5
mov eax, dword [eax]
cmp eax, ecx
jne 0x4ab775
mov edx, dword [ecx]
cmp eax, ecx
je 0x4ab7f2
push str.en_US
lea ecx, [ebp - 0xc0]
call fcn.0043f5d0
lea eax, [ebp - 0xc0]
mov dword [ebp - 4], 2
push eax
mov ecx, ebx
call fcn.004acf90
lea ecx, [ebp - 0xc0]
call fcn.00425b40
mov eax, 1
jmp 0x4ab806
lea eax, [edx + 8]
mov ecx, ebx
push eax
call fcn.004acf90
mov eax, 1
jmp 0x4ab806
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053d079
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00425f50
int3