Function at 0x4855a0
Capabilities:
Extract resource via kernel32 functions
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x515d17
mov eax, dword fs:[0]
push eax
sub esp, 0xc0
mov eax, dword [0x5467a4]
xor eax, esp
mov dword [esp + 0xbc], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5467a4]
xor eax, esp
push eax
lea eax, [esp + 0xd4]
mov dword fs:[0], eax
mov ebx, dword [esp + 0xec]
mov eax, dword [esp + 0xe4]
mov esi, dword [esp + 0xe8]
mov edi, dword [esp + 0xf0]
push 0x28
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
call fcn.004e7d83
add esp, 4
mov dword [esp + 0x40], eax
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0xdc], ebp
je 0x485626
push eax
call fcn.0044d950
mov ebp, eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0xf4]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0xdc], 0xffffffff
mov dword [eax], ecx
mov dword [eax + 4], esi
mov dword [eax + 0x10], edx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], edi
mov eax, ebx
sub eax, 1
je 0x485725
sub eax, 1
je 0x4856e5
sub eax, 1
jne 0x48567e
call fcn.00489cf0
mov eax, dword [eax + 0x38]
push edi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x485694
test ebp, ebp
je 0x48568d
mov eax, dword [ebp]
mov edx, dword [eax]
push 1
mov ecx, ebp
call edx
xor eax, eax
jmp 0x485a88
call fcn.00489cf0
mov eax, dword [eax + 0x38]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4856c5
test ebp, ebp
je 0x4856b7
mov eax, dword [ebp]
mov edx, dword [eax]
push 1
mov ecx, ebp
call edx
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
jmp 0x485a88
mov edi, dword [ebp]
push eax
add edi, 8
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
mov eax, dword [edi]
mov ecx, ebp
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x4857c5
mov edx, esi
lea eax, [esp + 0x60]
call fcn.00406ac0
mov dword [esp + 0xdc], 4
mov edx, dword [ebp]
push eax
mov eax, dword [edx + 4]
mov ecx, ebp
call eax
mov dword [esp + 0xdc], 0xffffffff
cmp dword [esp + 0x78], 8
jb 0x4857c5
mov ecx, dword [esp + 0x64]
jmp 0x4857bc
mov edx, esi
lea eax, [esp + 0x44]
call fcn.00406ac0
lea ecx, [esp + 0x44]
lea esi, [esp + 0xb4]
mov dword [esp + 0xdc], 1
call fcn.004495e0
mov byte [esp + 0xdc], 3
cmp dword [esp + 0x5c], 8
jb 0x485767
mov edx, dword [esp + 0x48]
push edx
call fcn.004e7d7e
add esp, 4
xor eax, eax
mov esi, 0x10
cmp dword [esp + 0xcc], esi
mov dword [esp + 0x58], eax
mov word [esp + 0x48], ax
mov eax, dword [esp + 0xb8]
mov dword [esp + 0x5c], 7
jae 0x485796
lea eax, [esp + 0xb8]
mov edx, dword [ebp]
push eax
mov eax, dword [edx + 8]
mov ecx, ebp
call eax
mov dword [esp + 0xdc], 0xffffffff
cmp dword [esp + 0xcc], esi
jb 0x4857c5
mov ecx, dword [esp + 0xb8]
push ecx
call fcn.004e7d7e
add esp, 4
mov edx, dword [ebp]
mov eax, dword [edx + 0x54]
mov ecx, ebp
call eax
mov esi, eax
xor ebx, ebx
cmp esi, ebx
jne 0x4857e9
mov edx, dword [ebp]
mov eax, dword [edx]
push 1
mov ecx, ebp
call eax
xor eax, eax
jmp 0x485a88
mov edi, dword [esp + 0x1c]
cmp edi, ebx
je 0x485a65
mov edx, dword [ebp]
mov edx, dword [edx + 0x14]
push esi
lea eax, [esp + 0x9c]
push eax
mov ecx, ebp
call edx
push 4
push str.Root
mov dword [esp + 0xe4], 5
mov eax, dword [esp + 0xb4]
push ebx
lea ecx, [esp + 0xa4]
call fcn.00407940
test eax, eax
jne 0x485a24
mov dword [esp + 0x94], 7
mov dword [esp + 0x90], ebx
mov word [esp + 0x80], bx
mov byte [esp + 0xdc], 6
mov eax, dword [ebp]
mov edx, dword [eax + 0x24]
push esi
mov ecx, ebp
call edx
mov esi, eax
cmp esi, ebx
je 0x485989
mov eax, dword [ebp]
mov edx, dword [eax + 0x14]
push esi
lea ecx, [esp + 0x64]
push ecx
mov ecx, ebp
call edx
push 0xffffffffffffffff
push 0
push eax
lea eax, [esp + 0xa4]
mov byte [esp + 0xe8], 7
call fcn.00401610
mov ebx, 8
mov byte [esp + 0xdc], 6
cmp dword [esp + 0x78], ebx
jb 0x4858b6
mov eax, dword [esp + 0x64]
push eax
call fcn.004e7d7e
add esp, 4
mov eax, dword [esp + 0xac]
push 6
push 0x523350
push 0
lea ecx, [esp + 0xa4]
call fcn.00407940
test eax, eax
jne 0x485974
mov edx, 0x51a65c
lea eax, [esp + 0x24]
call fcn.00406ac0
push 0
lea eax, [esp + 0x80]
push eax
mov byte [esp + 0xe4], 8
mov edx, dword [ebp]
mov edx, dword [edx + 0x3c]
lea ecx, [esp + 0x2c]
push ecx
push esi
mov ecx, ebp
call edx
mov byte [esp + 0xdc], 6
cmp dword [esp + 0x3c], ebx
jb 0x485925
mov eax, dword [esp + 0x28]
push eax
call fcn.004e7d7e
add esp, 4
lea eax, [esp + 0x24]
call fcn.004495c0
lea ecx, [esp + 0x7c]
mov byte [esp + 0xdc], 9
call fcn.004078c0
mov byte [esp + 0xdc], 6
cmp dword [esp + 0x3c], 8
mov bl, al
jb 0x48595d
mov ecx, dword [esp + 0x28]
push ecx
call fcn.004e7d7e
add esp, 4
xor eax, eax
test bl, bl
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], eax
mov word [esp + 0x28], ax
jne 0x4859ee
mov edx, dword [ebp]
mov eax, dword [edx + 0x30]
push esi
mov ecx, ebp
call eax
mov esi, eax
test esi, esi
jne 0x48586d
mov edx, dword [ebp]
mov eax, dword [edx]
push 1
mov ecx, ebp
call eax
mov esi, 8
cmp dword [esp + 0x94], esi
jb 0x4859b2
mov ecx, dword [esp + 0x80]
push ecx
call fcn.004e7d7e
add esp, 4
xor eax, eax
cmp dword [esp + 0xb0], esi
mov dword [esp + 0x94], 7
mov dword [esp + 0x90], eax
mov word [esp + 0x80], ax
jb 0x4859e7
mov edx, dword [esp + 0x9c]
push edx
call fcn.004e7d7e
add esp, 4
xor eax, eax
jmp 0x485a88
cmp dword [esp + 0x94], 8
jb 0x485a08
mov eax, dword [esp + 0x80]
push eax
call fcn.004e7d7e
add esp, 4
xor eax, eax
mov dword [esp + 0x94], 7
mov dword [esp + 0x90], eax
mov word [esp + 0x80], ax
mov dword [esp + 0xdc], 0xffffffff
cmp dword [esp + 0xb0], 8
jb 0x485a49
mov ecx, dword [esp + 0x9c]
push ecx
call fcn.004e7d7e
add esp, 4
xor eax, eax
mov dword [esp + 0xb0], 7
mov dword [esp + 0xac], eax
mov word [esp + 0x9c], ax
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
push 0
push edx
push esi
push eax
mov ecx, ebp
call fcn.00484120
mov edx, dword [ebp]
mov esi, eax
mov eax, dword [edx]
push 1
mov ecx, ebp
call eax
mov eax, esi
mov ecx, dword [esp + 0xd4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xbc]
xor ecx, esp
call fcn.004e7d6f
add esp, 0xcc
ret 0x14