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

Disassembly:
push 0xffffffffffffffff
push 0x4d33f9
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x4fa36c]
xor eax, esp
mov dword [esp + 0xb4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4fa36c]
xor eax, esp
push eax
lea eax, [esp + 0xcc]
mov dword fs:[0], eax
mov eax, dword [esp + 0xe8]
mov ebp, dword [esp + 0xdc]
mov ebx, dword [esp + 0xe4]
mov esi, dword [esp + 0xe0]
mov edi, dword [esp + 0xec]
mov dword [ebp + 0x30], eax
sub eax, 1
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], ecx
mov dword [ebp + 0x28], edx
mov dword [ebp + 0x2c], esi
mov dword [ebp + 0x38], ebx
mov dword [ebp + 0x34], edi
je 0x464691
sub eax, 1
je 0x464651
sub eax, 1
jne 0x46462a
call fcn.0046f940
mov eax, dword [eax + 0x38]
push edi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x46462a
call fcn.0046f940
mov eax, dword [eax + 0x38]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x464631
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
jmp 0x4649a9
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 0x46472d
mov edx, esi
lea eax, [esp + 0x58]
call fcn.00401740
mov dword [esp + 0xd4], 3
mov edx, dword [ebp]
push eax
mov eax, dword [edx + 4]
mov ecx, ebp
call eax
mov dword [esp + 0xd4], 0xffffffff
cmp dword [esp + 0x70], 8
jb 0x46472d
mov ecx, dword [esp + 0x5c]
jmp 0x464724
mov edx, esi
lea eax, [esp + 0x3c]
call fcn.00401740
xor edi, edi
lea ecx, [esp + 0x3c]
lea esi, [esp + 0xac]
mov dword [esp + 0xd4], edi
call fcn.00433840
mov byte [esp + 0xd4], 2
cmp dword [esp + 0x54], 8
jb 0x4646d1
mov edx, dword [esp + 0x40]
push edx
call fcn.004a93cc
add esp, 4
mov eax, dword [esp + 0xb0]
mov esi, 0x10
cmp dword [esp + 0xc4], esi
mov dword [esp + 0x54], 7
mov dword [esp + 0x50], edi
mov word [esp + 0x40], di
jae 0x4646fe
lea eax, [esp + 0xb0]
mov edx, dword [ebp]
push eax
mov eax, dword [edx + 8]
mov ecx, ebp
call eax
mov dword [esp + 0xd4], 0xffffffff
cmp dword [esp + 0xc4], esi
jb 0x46472d
mov ecx, dword [esp + 0xb0]
push ecx
call fcn.004a93cc
add esp, 4
mov edx, dword [ebp]
mov eax, dword [edx + 0x50]
mov ecx, ebp
call eax
mov esi, eax
xor edi, edi
cmp esi, edi
je 0x46462a
cmp ebx, edi
je 0x464999
mov edx, dword [ebp]
mov edx, dword [edx + 0x14]
push esi
lea eax, [esp + 0x94]
push eax
mov ecx, ebp
call edx
lea eax, [esp + 0x90]
push eax
mov ecx, str.Root
mov dword [esp + 0xd8], 4
call fcn.0041d850
test eax, eax
jne 0x464958
mov dword [esp + 0x8c], 7
mov dword [esp + 0x88], edi
mov word [esp + 0x78], di
mov byte [esp + 0xd4], 5
mov edx, dword [ebp]
mov eax, dword [edx + 0x24]
push esi
mov ecx, ebp
call eax
mov esi, eax
cmp esi, edi
je 0x4648d4
mov edx, dword [ebp]
mov edx, dword [edx + 0x14]
push esi
lea eax, [esp + 0x5c]
push eax
mov ecx, ebp
call edx
push 0xffffffffffffffff
push 0
push eax
lea eax, [esp + 0x9c]
mov byte [esp + 0xe0], 6
call fcn.004017c0
mov edi, 8
mov byte [esp + 0xd4], 5
cmp dword [esp + 0x70], edi
jb 0x464800
mov eax, dword [esp + 0x5c]
push eax
call fcn.004a93cc
add esp, 4
lea ecx, [esp + 0x90]
push ecx
mov ecx, 0x4de6f4
call fcn.0041d850
test eax, eax
jne 0x4648bd
mov edx, str.name
lea eax, [esp + 0x20]
call fcn.00401740
push 0
lea eax, [esp + 0x78]
push eax
mov byte [esp + 0xdc], 7
mov edx, dword [ebp]
mov edx, dword [edx + 0x38]
lea ecx, [esp + 0x28]
push ecx
push esi
mov ecx, ebp
call edx
mov byte [esp + 0xd4], 5
cmp dword [esp + 0x38], edi
jb 0x464862
mov eax, dword [esp + 0x24]
push eax
call fcn.004a93cc
add esp, 4
mov edi, ebx
lea eax, [esp + 0x20]
call fcn.00433820
lea ecx, [esp + 0x74]
mov byte [esp + 0xd4], 8
call fcn.0041e070
test eax, eax
sete bl
mov byte [esp + 0xd4], 5
cmp dword [esp + 0x38], 8
jb 0x46489f
mov ecx, dword [esp + 0x24]
push ecx
call fcn.004a93cc
add esp, 4
xor eax, eax
test bl, bl
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], eax
mov word [esp + 0x24], ax
jne 0x464928
mov ebx, dword [esp + 0x1c]
lea edi, [eax + 8]
mov edx, dword [ebp]
mov eax, dword [edx + 0x2c]
push esi
mov ecx, ebp
call eax
mov esi, eax
test esi, esi
jne 0x4647b7
jmp 0x4648d9
mov edi, 8
cmp dword [esp + 0x8c], edi
jb 0x4648ef
mov ecx, dword [esp + 0x78]
push ecx
call fcn.004a93cc
add esp, 4
xor eax, eax
cmp dword [esp + 0xa8], edi
mov dword [esp + 0x8c], 7
mov dword [esp + 0x88], eax
mov word [esp + 0x78], ax
jb 0x464921
mov edx, dword [esp + 0x94]
push edx
call fcn.004a93cc
add esp, 4
xor eax, eax
jmp 0x4649a9
cmp dword [esp + 0x8c], 8
jb 0x46493f
mov eax, dword [esp + 0x78]
push eax
call fcn.004a93cc
add esp, 4
xor eax, eax
mov dword [esp + 0x8c], 7
mov dword [esp + 0x88], eax
mov word [esp + 0x78], ax
mov dword [esp + 0xd4], 0xffffffff
cmp dword [esp + 0xa8], 8
jb 0x46497d
mov ecx, dword [esp + 0x94]
push ecx
call fcn.004a93cc
add esp, 4
xor edi, edi
mov dword [esp + 0xa8], 7
mov dword [esp + 0xa4], edi
mov word [esp + 0x94], di
mov edx, dword [esp + 0x18]
push edi
push edx
push esi
mov edx, ebp
mov ecx, ebp
call fcn.00463130
mov ecx, dword [esp + 0xcc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.004a9ce9
add esp, 0xc4
ret 0x14