Function at 0x4ab6b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57dbcb
mov eax, dword fs:[0]
push eax
sub esp, 0x2b4
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x2c0]
mov ecx, 0xad
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x5ddc34]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov esi, esp
push 0xfffffffffffffff0
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongW]
cmp esi, esp
call fcn.004f4cf0
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
and eax, 0xff3fffff
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
and eax, 0xfffeffff
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
or eax, 0x4000000
or eax, 0x2000000
mov esi, esp
push eax
push 0xfffffffffffffff0
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_SetWindowLongW]
cmp esi, esp
call fcn.004f4cf0
push 0x6b
mov ecx, dword [ebp - 0x18]
call fcn.00410440
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 4]
push ecx
mov ecx, dword [ebp - 0x18]
add ecx, 0x274
call fcn.00406480
lea ecx, [ebp - 0x174]
call fcn.00413250
mov dword [ebp - 4], 0
call fcn.00406820
mov ecx, eax
call fcn.00403e40
movzx eax, al
test eax, eax
je 0x4ab9c7
mov esi, esp
push str.RC_SKIN
push 0x81
call fcn.004067f0
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
cmp esi, esp
call fcn.004f4cf0
mov dword [ebp - 0x180], eax
cmp dword [ebp - 0x180], 0
jne 0x4ab7e9
mov dword [ebp - 0x2b8], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x174]
call fcn.00401960
mov eax, dword [ebp - 0x2b8]
jmp 0x4abaa4
mov dword [ebp - 0x18c], 0
mov esi, esp
mov eax, dword [ebp - 0x180]
push eax
call fcn.004067f0
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp esi, esp
call fcn.004f4cf0
mov dword [ebp - 0x198], eax
cmp dword [ebp - 0x198], 0
jne 0x4ab85b
mov esi, esp
mov eax, dword [ebp - 0x180]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp esi, esp
call fcn.004f4cf0
mov dword [ebp - 0x2ac], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x174]
call fcn.00401960
mov eax, dword [ebp - 0x2ac]
jmp 0x4abaa4
mov esi, esp
mov eax, dword [ebp - 0x180]
push eax
call fcn.004067f0
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
cmp esi, esp
call fcn.004f4cf0
mov dword [ebp - 0x18c], eax
cmp dword [ebp - 0x18c], 0
jne 0x4ab8ad
mov dword [ebp - 0x2a0], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x174]
call fcn.00401960
mov eax, dword [ebp - 0x2a0]
jmp 0x4abaa4
mov eax, dword [ebp - 0x18c]
push eax
call fcn.004bcb10
add esp, 4
mov dword [ebp - 0x294], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x294]
mov dword [ecx + 0x510], edx
mov eax, dword [ebp - 0x18c]
push eax
mov esi, esp
mov ecx, dword [ebp - 0x198]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp esi, esp
call fcn.004f4cf0
push eax
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x510]
push eax
call fcn.004f57f0
add esp, 0xc
mov esi, esp
mov eax, dword [ebp - 0x180]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp esi, esp
call fcn.004f4cf0
jmp 0x4ab929
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x510]
cmp dword [ecx], 0x6e696b53
jne 0x4ab99e
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x510]
mov dword [ecx], 0x4034b50
mov dword [ebp - 0x1a4], 4
jmp 0x4ab964
mov eax, dword [ebp - 0x1a4]
add eax, 1
mov dword [ebp - 0x1a4], eax
mov eax, dword [ebp - 0x1a4]
cmp eax, dword [ebp - 0x18c]
jae 0x4ab99e
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x510]
mov edx, dword [ebp - 0x1a4]
movzx eax, byte [ecx + edx]
xor eax, 0xab
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x510]
mov ecx, dword [ebp - 0x1a4]
mov byte [edx + ecx], al
jmp 0x4ab955
jmp 0x4ab9ae
mov eax, dword [ebp - 0x18c]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x510]
push edx
call fcn.00406920
add esp, 8
push 0
mov eax, dword [ebp - 0x18]
add eax, 0x274
push eax
push 0
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x288], esp
push 0x590fc8
call fcn.0040177b
lea ecx, [ebp - 0x174]
call fcn.004132a0
mov dword [ebp - 0x1b0], eax
cmp dword [ebp - 0x1b0], 0
je 0x4aba0c
mov eax, 0x59162c
test eax, eax
jne 0x4aba32
push str.pRoot__L_
push 0x58f9a8
push 0
push 0x4e5
push str.c:ericsworklogin_270login_270loginlinlauncherlinlauncher.cpp
push 2
call fcn.004fc9a0
add esp, 0x18
cmp eax, 1
jne 0x4aba32
int3
mov eax, dword [ebp - 0x1b0]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x274
call fcn.0040a350
cmp dword [ebp - 0x18], 0
je 0x4aba5b
mov eax, dword [ebp - 0x18]
add eax, 0x20
mov dword [ebp - 0x2c0], eax
jmp 0x4aba65
mov dword [ebp - 0x2c0], 0
mov ecx, dword [ebp - 0x2c0]
push ecx
mov ecx, dword [ebp - 0x18]
add ecx, 0x274
call fcn.0040b6e0
mov ecx, dword [ebp - 0x18]
call fcn.004019fb
mov dword [ebp - 0x27c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x174]
call fcn.00401960
mov eax, dword [ebp - 0x27c]
push edx
mov ecx, ebp
push eax
lea edx, [0x4abae0]
call fcn.004f4c90
pop eax
pop edx
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.004f4d70
add esp, 0x2c0
cmp ebp, esp
call fcn.004f4cf0
mov esp, ebp
pop ebp
ret 0x10