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

Disassembly:
push 0xffffffffffffffff
push 0x515c87
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x5467a4]
xor eax, esp
mov dword [esp + 0xb8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5467a4]
xor eax, esp
push eax
lea eax, [esp + 0xd0]
mov dword fs:[0], eax
mov eax, dword [esp + 0xe4]
mov ebx, dword [esp + 0xe0]
mov edi, dword [esp + 0xf0]
push 0x28
mov esi, edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
call fcn.004e7d83
add esp, 4
mov dword [esp + 0x3c], eax
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0xd8], ebp
je 0x485b3d
push eax
call fcn.0044d950
mov ebp, eax
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0xf4]
mov dword [esp + 0xd8], 0xffffffff
mov dword [ebx + 0x10], eax
mov eax, dword [esp + 0xec]
mov dword [ebx + 8], eax
sub eax, 1
mov dword [ebx], edx
mov dword [ebx + 4], esi
mov dword [ebx + 0xc], edi
je 0x485c3d
sub eax, 1
je 0x485bfd
sub eax, 1
jne 0x485b96
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 0x485bac
test ebp, ebp
je 0x485ba5
mov edx, dword [ebp]
mov eax, dword [edx]
push 1
mov ecx, ebp
call eax
xor eax, eax
jmp 0x485f98
call fcn.00489cf0
mov eax, dword [eax + 0x38]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x485bdd
test ebp, ebp
je 0x485bcf
mov edx, dword [ebp]
mov eax, dword [edx]
push 1
mov ecx, ebp
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
jmp 0x485f98
mov edi, dword [ebp]
push eax
add edi, 8
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edx, dword [edi]
push eax
mov ecx, ebp
call edx
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x485cdd
mov edx, esi
lea eax, [esp + 0x5c]
call fcn.00406ac0
mov dword [esp + 0xd8], 4
mov edx, dword [ebp]
push eax
mov eax, dword [edx + 4]
mov ecx, ebp
call eax
mov dword [esp + 0xd8], 0xffffffff
cmp dword [esp + 0x74], 8
jb 0x485cdd
mov ecx, dword [esp + 0x60]
jmp 0x485cd4
mov edx, esi
lea eax, [esp + 0x40]
call fcn.00406ac0
lea ecx, [esp + 0x40]
lea esi, [esp + 0xb0]
mov dword [esp + 0xd8], 1
call fcn.004495e0
mov byte [esp + 0xd8], 3
cmp dword [esp + 0x58], 8
jb 0x485c7f
mov edx, dword [esp + 0x44]
push edx
call fcn.004e7d7e
add esp, 4
xor eax, eax
mov esi, 0x10
cmp dword [esp + 0xc8], esi
mov dword [esp + 0x54], eax
mov word [esp + 0x44], ax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x58], 7
jae 0x485cae
lea eax, [esp + 0xb4]
mov edx, dword [ebp]
push eax
mov eax, dword [edx + 8]
mov ecx, ebp
call eax
mov dword [esp + 0xd8], 0xffffffff
cmp dword [esp + 0xc8], esi
jb 0x485cdd
mov ecx, dword [esp + 0xb4]
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 edi, edi
cmp esi, edi
je 0x485b9a
cmp dword [esp + 0x18], edi
je 0x485f68
mov edx, dword [ebp]
mov edx, dword [edx + 0x14]
push esi
lea eax, [esp + 0x98]
push eax
mov ecx, ebp
call edx
push 4
push str.Root
mov dword [esp + 0xe0], 5
mov eax, dword [esp + 0xb0]
push edi
lea ecx, [esp + 0xa0]
call fcn.00407940
test eax, eax
jne 0x485f27
mov dword [esp + 0x90], 7
mov dword [esp + 0x8c], edi
mov word [esp + 0x7c], di
mov byte [esp + 0xd8], 6
mov eax, dword [ebp]
mov edx, dword [eax + 0x24]
push esi
mov ecx, ebp
call edx
mov esi, eax
cmp esi, edi
je 0x485e98
mov eax, dword [ebp]
mov edx, dword [eax + 0x14]
push esi
lea ecx, [esp + 0x60]
push ecx
mov ecx, ebp
call edx
push 0xffffffffffffffff
push 0
push eax
lea eax, [esp + 0xa0]
mov byte [esp + 0xe4], 7
call fcn.00401610
mov edi, 8
mov byte [esp + 0xd8], 6
cmp dword [esp + 0x74], edi
jb 0x485dbb
mov eax, dword [esp + 0x60]
push eax
call fcn.004e7d7e
add esp, 4
mov eax, dword [esp + 0xa8]
push 6
push 0x523350
push 0
lea ecx, [esp + 0xa0]
call fcn.00407940
test eax, eax
jne 0x485e81
mov edx, 0x51a65c
lea eax, [esp + 0x20]
call fcn.00406ac0
push 0
lea eax, [esp + 0x7c]
push eax
mov byte [esp + 0xe0], 8
mov edx, dword [ebp]
mov edx, dword [edx + 0x3c]
lea ecx, [esp + 0x28]
push ecx
push esi
mov ecx, ebp
call edx
mov byte [esp + 0xd8], 6
cmp dword [esp + 0x38], edi
jb 0x485e27
mov eax, dword [esp + 0x24]
push eax
call fcn.004e7d7e
add esp, 4
mov edi, dword [esp + 0x18]
lea eax, [esp + 0x20]
call fcn.004495c0
lea ecx, [esp + 0x78]
mov byte [esp + 0xd8], 9
call fcn.004078c0
mov byte [esp + 0xd8], 6
cmp dword [esp + 0x38], 8
mov byte [esp + 0x17], al
jb 0x485e65
mov ecx, dword [esp + 0x24]
push ecx
call fcn.004e7d7e
add esp, 4
xor eax, eax
cmp byte [esp + 0x17], al
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], eax
mov word [esp + 0x24], ax
jne 0x485ef7
lea edi, [eax + 8]
mov edx, dword [ebp]
mov eax, dword [edx + 0x30]
push esi
mov ecx, ebp
call eax
mov esi, eax
test esi, esi
jne 0x485d72
jmp 0x485e9d
mov edi, 8
mov edx, dword [ebp]
mov eax, dword [edx]
push 1
mov ecx, ebp
call eax
cmp dword [esp + 0x90], edi
jb 0x485ebe
mov ecx, dword [esp + 0x7c]
push ecx
call fcn.004e7d7e
add esp, 4
xor eax, eax
cmp dword [esp + 0xac], edi
mov dword [esp + 0x90], 7
mov dword [esp + 0x8c], eax
mov word [esp + 0x7c], ax
jb 0x485ef0
mov edx, dword [esp + 0x98]
push edx
call fcn.004e7d7e
add esp, 4
xor eax, eax
jmp 0x485f98
cmp dword [esp + 0x90], 8
jb 0x485f0e
mov eax, dword [esp + 0x7c]
push eax
call fcn.004e7d7e
add esp, 4
xor eax, eax
mov dword [esp + 0x90], 7
mov dword [esp + 0x8c], eax
mov word [esp + 0x7c], ax
mov dword [esp + 0xd8], 0xffffffff
cmp dword [esp + 0xac], 8
jb 0x485f4c
mov ecx, dword [esp + 0x98]
push ecx
call fcn.004e7d7e
add esp, 4
xor eax, eax
mov dword [esp + 0xac], 7
mov dword [esp + 0xa8], eax
mov word [esp + 0x98], ax
mov edx, dword [esp + 0xe8]
push edx
push esi
push ebp
mov ecx, ebx
call fcn.00487110
mov ecx, dword [esp + 0x1c]
push 1
push ecx
push eax
push ebx
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 + 0xd0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.004e7d6f
add esp, 0xc8
ret 0x18