Function at 0x5581cf
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [edi + 0x24]
mov ecx, dword [eax]
push ebx
push esi
push 0x60
push eax
call dword [ecx + 0x24]
push ecx
mov eax, esp
mov dword [eax], str.NEW_SKIN
push ecx
xor ebx, ebx
mov eax, esp
lea esi, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [eax], str.SKIN
call fcn.0043affa
push dword [ebp - 0x14]
mov dword [ebp - 8], ebx
push dword [0x6d08a8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 0x18]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [0x6d200c]
lea edx, [ebp - 8]
push edx
push 0x64fea0
push esi
mov dword [ebp - 0x10], eax
push dword [ebp - 0x10]
mov eax, dword [ecx]
push 0x67903c
push ecx
call dword [eax + 0x14]
mov eax, dword [edi + 0x24]
push dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
lea esi, [edi + 0x28]
push esi
push 0x64fea0
push str.root
push eax
call dword [ecx + 0xb4]
test eax, eax
js 0x558396
mov eax, dword [esi]
lea edx, [ebp - 4]
push edx
push 0x64fea0
push str.BG_NA
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0xb4]
mov eax, dword [esi]
mov ecx, dword [eax]
lea edx, [ebp - 0xc]
push edx
push 0x64fea0
push 0x679078
push eax
call dword [ecx + 0xb4]
mov eax, dword [ebp - 0xc]
cmp eax, ebx
je 0x5582e3
cmp dword [ebp - 4], ebx
je 0x5582e3
mov ecx, dword [eax]
cmp dword [edi + 0x40], ebx
je 0x5582c9
push ebx
push 0x3ff
push eax
call dword [ecx + 0x78]
push 2
jmp 0x5582d5
push 2
push 0x3ff
push eax
call dword [ecx + 0x78]
push ebx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push 0x3ff
push eax
call dword [ecx + 0x78]
mov eax, dword [esi]
mov ecx, dword [eax]
push 1
push 0x3f9
push eax
call dword [ecx + 0x8c]
mov eax, dword [esi]
mov ecx, dword [eax]
push ebx
push dword [edi + 0x2c]
push 0x13bd
push eax
call dword [ecx + 0x44]
mov eax, dword [esi]
mov ecx, dword [eax]
push ebx
push dword [edi + 0x2c]
push 0x13bf
push eax
call dword [ecx + 0x44]
mov eax, dword [esi]
mov ecx, dword [eax]
push ebx
push dword [edi + 0x2c]
push 0x13be
push eax
call dword [ecx + 0x44]
mov esi, dword [esi]
mov eax, dword [esi]
push ebx
push dword [edi + 0x2c]
push 0x13c2
push esi
call dword [eax + 0x44]
mov esi, dword [edi + 0x34]
mov edx, dword [edi + 0x30]
push 0x10
lea ecx, [esi + 0x64]
lea eax, [edx + 0x190]
sub ecx, esi
push ecx
sub eax, edx
push eax
push esi
push edx
push ebx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov esi, dword [sym.imp.USER32.dll_SetTimer]
push ebx
push 0x64
push 0x169
push dword [edi + 4]
call esi
push ebx
push 0x32
push 0x16a
push dword [edi + 4]
call esi
mov eax, dword [ebp - 4]
cmp eax, ebx
je 0x558389
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0xc]
cmp eax, ebx
je 0x558396
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 8]
cmp eax, ebx
je 0x5583a3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 0x18], ebx
je 0x5583b1
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop esi
xor eax, eax
pop ebx
leave
ret