Function at 0x4799e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d1c33
mov eax, dword fs:[0]
push eax
sub esp, 0x42c
mov eax, dword [0x50d4cc]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x428], ebx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x42c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x430], eax
xor esi, esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], esi
xorps xmm0, xmm0
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], esi
push 0x404
push esi
lea eax, [ebp - 0x424]
push eax
call fcn.0048f5e0
add esp, 0xc
mov dword [ebp - 0x424], esi
mov byte [ebp - 4], 1
test ebx, ebx
je 0x479cc6
mov ecx, ebx
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x479a70
sub ecx, edx
sar ecx, 1
lea eax, [ecx + 1]
cdq
mov edi, eax
shld edx, edi, 1
add edi, edi
mov eax, edi
add eax, 0x80000000
adc edx, 0
mov dword [ebp - 0x434], edx
jne 0x479b21
cmp eax, 0xffffffff
ja 0x479b21
cmp edi, 0x400
jg 0x479ac7
mov ecx, edi
call fcn.00426770
test al, al
je 0x479ac7
mov eax, edi
call fcn.004a9460
mov dword [ebp - 0x10], esp
mov ebx, esp
jmp 0x479aef
or eax, 0xffffffff
sub eax, edi
cmp eax, 8
jb 0x479b17
lea eax, [edi + 8]
push eax
call fcn.0048d22b
add esp, 4
test eax, eax
je 0x479b21
mov dword [eax], 0
mov esi, eax
mov dword [ebp - 0x18], esi
lea ebx, [eax + 8]
test ebx, ebx
je 0x479b21
mov byte [ebx], 0
push 0
push 0
push edi
push ebx
push 0xffffffffffffffff
push dword [ebp - 0x428]
push 0
push 3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
xor ecx, ecx
test eax, eax
cmove ebx, ecx
jmp 0x479b23
push 0x80070216
call fcn.00401330
xor ebx, ebx
test ebx, ebx
je 0x479cc6
push 0x60
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov edi, eax
mov dword [ebp - 0x428], edi
test edi, edi
jne 0x479b64
push 2
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov edi, eax
mov dword [ebp - 0x428], eax
test edi, edi
jne 0x479b64
call fcn.00401520
mov ebx, eax
jmp 0x479c82
push dword [ebp - 0x430]
push dword [ebp - 0x42c]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebx, eax
test ebx, ebx
jne 0x479b87
call fcn.00401520
jmp 0x479c75
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x430], eax
test eax, eax
jne 0x479ba3
call fcn.00401520
jmp 0x479c75
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
mov dword [ebp - 0x42c], ebx
lea eax, [ebx + 1]
cmp eax, ebx
jae 0x479bc4
mov ebx, 0x8007000e
jmp 0x479c77
mov byte [ebp - 4], 2
mov dword [ebp - 0x438], eax
xor ecx, ecx
mov dword [ebp - 0x434], ecx
ja 0x479b17
cmp eax, 0xffffffff
ja 0x479b17
cmp eax, 0x400
jbe 0x479c01
push eax
lea ecx, [ebp - 0x424]
call fcn.0047cdc0
mov dword [ebp - 4], 1
jmp 0x479c32
lea eax, [ebp - 0x420]
mov dword [ebp - 0x424], eax
mov dword [ebp - 4], 1
jmp 0x479c32
mov eax, dword [ebp - 0x424]
test eax, eax
jne 0x479c43
mov ebx, 0x8007000e
jmp 0x479c77
push ebx
push dword [ebp - 0x430]
push ebx
push eax
call fcn.0048c509
push eax
call fcn.00401350
add esp, 0x14
mov eax, dword [ebp - 0x424]
mov byte [eax + ebx], 0
push dword [ebp + 0x14]
push dword [ebp - 0x424]
lea ecx, [ebp - 0x20]
call fcn.0047af10
mov ebx, eax
test edi, edi
je 0x479c82
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [ebp - 4], 0
lea eax, [ebp - 0x420]
cmp dword [ebp - 0x424], eax
je 0x479c9f
lea ecx, [ebp - 0x424]
call fcn.0047cdb0
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x479cc2
lea ebx, [ebx]
push esi
mov esi, dword [esi]
mov dword [ebp - 0x18], esi
call fcn.0048b8d4
add esp, 4
test esi, esi
jne 0x479cb0
mov eax, ebx
jmp 0x479d07
mov byte [ebp - 4], 0
lea eax, [ebp - 0x420]
cmp dword [ebp - 0x424], eax
je 0x479ce3
lea ecx, [ebp - 0x424]
call fcn.0047cdb0
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x479d02
mov edi, edi
push esi
mov esi, dword [esi]
mov dword [ebp - 0x18], esi
call fcn.0048b8d4
add esp, 4
test esi, esi
jne 0x479cf0
mov eax, 0x8007000e
lea esp, [ebp - 0x448]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0048b090
mov esp, ebp
pop ebp
ret 0x10