Function at 0x4e4320
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x583feb
mov eax, dword fs:[0]
push eax
sub esp, 0x244
mov eax, dword [0x5e95e0]
xor eax, esp
mov dword [esp + 0x240], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5e95e0]
xor eax, esp
push eax
lea eax, [esp + 0x258]
mov dword fs:[0], eax
push 0x595d54
push 0xcf
xor ebp, ebp
push ebp
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push edi
push ebp
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push 0xffffffffffffffff
lea ecx, [esi + 0x124]
push ebp
mov edi, eax
call fcn.00538df7
push 0xffffffffffffffff
lea ecx, [esi + 0x138]
push ebp
call fcn.00539776
push 0xffffffffffffffff
lea ecx, [esi + 0x14c]
push ebp
call fcn.00539776
mov eax, dword [esi + 0x164]
cmp eax, ebp
je 0x4e43d0
push eax
call fcn.005308f6
add esp, 4
mov dword [esi + 0x164], ebp
mov dword [esi + 0x16c], ebp
mov dword [esi + 0x168], ebp
mov eax, dword [esi + 0x178]
cmp eax, ebp
je 0x4e43f5
push eax
call fcn.005308f6
add esp, 4
mov dword [esi + 0x178], ebp
push 3
push edi
mov dword [esi + 0x180], ebp
mov dword [esi + 0x17c], ebp
call fcn.004ec6f0
xor ebx, ebx
mov ebp, eax
xor ecx, ecx
add esp, 8
cmp ebp, ebx
mov dword [esp + 0x24], ecx
mov word [esp + 0x28], bx
mov dword [esp + 0x250], ebx
jne 0x4e4435
mov dword [0x5f1ed0], 0x10000
jmp 0x4e44ca
cmp dword [ebp], 1
je 0x4e444a
mov dword [0x5f1ed0], 0x80000
jmp 0x4e44ca
mov eax, dword [ebp + 4]
mov edi, dword [eax]
or edx, 0xffffffff
cmp dword [edi + 4], edx
mov dword [esp + 0x18], eax
jg 0x4e4462
mov eax, 0x10000
jmp 0x4e44c5
cmp dword [eax + 4], edx
je 0x4e4473
call fcn.004eba10
mov eax, dword [esp + 0x18]
or edx, 0xffffffff
mov dword [eax + 4], edx
mov eax, dword [eax]
mov ecx, dword [eax + 4]
mov dword [esp + 0x24], ecx
mov word [esp + 0x28], bx
mov dword [esp + 0x230], ebx
mov dword [esp + 0x234], ebx
mov dword [esp + 0x238], ebx
mov dword [esp + 0x23c], ebx
mov dword [esp + 0x240], ebx
mov dword [esp + 0x244], ebx
mov dword [esp + 0x248], ebx
mov dword [esp + 0x24c], ebx
mov dword [esp + 0x250], ebx
xor eax, eax
mov dword [0x5f1ed0], eax
xor edi, edi
cmp ecx, ebx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x18], edi
jle 0x4e466d
jmp 0x4e44e2
xor ebx, ebx
cmp ebp, ebx
mov dword [esp + 0x24], ebx
mov word [esp + 0x28], bx
mov dword [esp + 0x250], ebx
jne 0x4e4502
mov dword [0x5f1ed0], 0x10000
jmp 0x4e4527
cmp dword [ebp], 1
je 0x4e4514
mov dword [0x5f1ed0], 0x80000
jmp 0x4e4527
mov ecx, dword [ebp + 4]
lea edx, [esp + 0x24]
push edx
push edi
call fcn.004ebc50
mov dword [0x5f1ed0], eax
mov eax, dword [esp + 0x250]
push eax
call fcn.005308fb
add esp, 4
test ebp, ebp
mov ebx, eax
jne 0x4e4549
mov dword [0x5f1ed0], 0x10000
jmp 0x4e4575
cmp dword [ebp], 1
je 0x4e455b
mov dword [0x5f1ed0], 0x80000
jmp 0x4e4575
mov edx, dword [esp + 0x250]
mov ecx, dword [ebp + 4]
push 3
push edx
push edi
mov edx, ebx
call fcn.004ec2f0
mov dword [0x5f1ed0], eax
mov eax, dword [esi + 0x12c]
lea ecx, [esi + 0x124]
lea edx, [esp + 0x28]
push edx
push eax
call fcn.005390d4
mov eax, dword [esi + 0x140]
lea ecx, [esi + 0x138]
push ebx
push eax
call fcn.0053989a
mov edx, dword [esp + 0x250]
mov eax, dword [esi + 0x154]
lea ecx, [esi + 0x14c]
push edx
push eax
call fcn.0053989a
lea eax, [esp + 0x28]
push str.skin.ini
push eax
call fcn.005522fc
add esp, 8
test eax, eax
jne 0x4e465c
mov eax, dword [esp + 0x250]
add eax, 0xfffffffe
cdq
sub eax, edx
mov edi, eax
sar edi, 1
call fcn.00530e1f
push eax
push edi
add ebx, 2
push ebx
lea ecx, [esp + 0x28]
call fcn.00401e70
lea ecx, [esp + 0x1c]
lea edi, [esi + 0x18c]
push ecx
mov ecx, edi
mov dword [esp + 0x264], 0
call fcn.00402310
mov dword [esp + 0x260], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4e4640
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esi + 0x190]
push ecx
push edi
call fcn.004e4a90
call fcn.004e4d50
push esi
call fcn.004e5090
mov edi, dword [esp + 0x18]
add edi, 1
cmp edi, dword [esp + 0x20]
mov dword [esp + 0x18], edi
jl 0x4e44e0
mov ebx, ebp
call fcn.004ecb90
mov ebx, esi
call fcn.004e42b0
mov eax, 1
mov ecx, dword [esp + 0x258]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x240]
xor ecx, esp
call fcn.00552101
add esp, 0x250
ret