Function at 0x4649e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x4d3379
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x4fa36c]
xor eax, esp
mov dword [esp + 0xb0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4fa36c]
xor eax, esp
push eax
lea eax, [esp + 0xc8]
mov dword fs:[0], eax
mov eax, dword [esp + 0xe8]
mov ebp, dword [esp + 0xd8]
mov ebx, dword [esp + 0xe0]
mov esi, dword [esp + 0xdc]
mov edi, dword [esp + 0xec]
mov dword [ebp + 0x30], eax
sub eax, 1
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ecx
mov dword [ebp + 0x28], edx
mov dword [ebp + 0x2c], esi
mov dword [ebp + 0x38], ebx
mov dword [ebp + 0x34], edi
je 0x464b01
sub eax, 1
je 0x464ac1
sub eax, 1
jne 0x464a9a
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 0x464a9a
call fcn.0046f940
mov eax, dword [eax + 0x38]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x464aa1
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
jmp 0x464e2b
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 0x464b9d
mov edx, esi
lea eax, [esp + 0x54]
call fcn.00401740
mov dword [esp + 0xd0], 3
mov edx, dword [ebp]
push eax
mov eax, dword [edx + 4]
mov ecx, ebp
call eax
mov dword [esp + 0xd0], 0xffffffff
cmp dword [esp + 0x6c], 8
jb 0x464b9d
mov ecx, dword [esp + 0x58]
jmp 0x464b94
mov edx, esi
lea eax, [esp + 0x38]
call fcn.00401740
xor edi, edi
lea ecx, [esp + 0x38]
lea esi, [esp + 0xa8]
mov dword [esp + 0xd0], edi
call fcn.00433840
mov byte [esp + 0xd0], 2
cmp dword [esp + 0x50], 8
jb 0x464b41
mov edx, dword [esp + 0x3c]
push edx
call fcn.004a93cc
add esp, 4
mov eax, dword [esp + 0xac]
mov esi, 0x10
cmp dword [esp + 0xc0], esi
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], edi
mov word [esp + 0x3c], di
jae 0x464b6e
lea eax, [esp + 0xac]
mov edx, dword [ebp]
push eax
mov eax, dword [edx + 8]
mov ecx, ebp
call eax
mov dword [esp + 0xd0], 0xffffffff
cmp dword [esp + 0xc0], esi
jb 0x464b9d
mov ecx, dword [esp + 0xac]
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 0x464a9a
cmp ebx, edi
je 0x464e09
mov edx, dword [ebp]
mov edx, dword [edx + 0x14]
push esi
lea eax, [esp + 0x90]
push eax
mov ecx, ebp
call edx
lea eax, [esp + 0x8c]
push eax
mov ecx, str.Root
mov dword [esp + 0xd4], 4
call fcn.0041d850
test eax, eax
jne 0x464dc8
mov dword [esp + 0x88], 7
mov dword [esp + 0x84], edi
mov word [esp + 0x74], di
mov byte [esp + 0xd0], 5
mov edx, dword [ebp]
mov eax, dword [edx + 0x24]
push esi
mov ecx, ebp
call eax
mov esi, eax
cmp esi, edi
je 0x464d44
mov edx, dword [ebp]
mov edx, dword [edx + 0x14]
push esi
lea eax, [esp + 0x58]
push eax
mov ecx, ebp
call edx
push 0xffffffffffffffff
push 0
push eax
lea eax, [esp + 0x98]
mov byte [esp + 0xdc], 6
call fcn.004017c0
mov edi, 8
mov byte [esp + 0xd0], 5
cmp dword [esp + 0x6c], edi
jb 0x464c70
mov eax, dword [esp + 0x58]
push eax
call fcn.004a93cc
add esp, 4
lea ecx, [esp + 0x8c]
push ecx
mov ecx, 0x4de6f4
call fcn.0041d850
test eax, eax
jne 0x464d2d
mov edx, str.name
lea eax, [esp + 0x1c]
call fcn.00401740
push 0
lea eax, [esp + 0x74]
push eax
mov byte [esp + 0xd8], 7
mov edx, dword [ebp]
mov edx, dword [edx + 0x38]
lea ecx, [esp + 0x24]
push ecx
push esi
mov ecx, ebp
call edx
mov byte [esp + 0xd0], 5
cmp dword [esp + 0x34], edi
jb 0x464cd2
mov eax, dword [esp + 0x20]
push eax
call fcn.004a93cc
add esp, 4
mov edi, ebx
lea eax, [esp + 0x1c]
call fcn.00433820
lea ecx, [esp + 0x70]
mov byte [esp + 0xd0], 8
call fcn.0041e070
test eax, eax
sete bl
mov byte [esp + 0xd0], 5
cmp dword [esp + 0x34], 8
jb 0x464d0f
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004a93cc
add esp, 4
xor eax, eax
test bl, bl
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], eax
mov word [esp + 0x20], ax
jne 0x464d98
mov ebx, dword [esp + 0x18]
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 0x464c27
jmp 0x464d49
mov edi, 8
cmp dword [esp + 0x88], edi
jb 0x464d5f
mov ecx, dword [esp + 0x74]
push ecx
call fcn.004a93cc
add esp, 4
xor eax, eax
cmp dword [esp + 0xa4], edi
mov dword [esp + 0x88], 7
mov dword [esp + 0x84], eax
mov word [esp + 0x74], ax
jb 0x464d91
mov edx, dword [esp + 0x90]
push edx
call fcn.004a93cc
add esp, 4
xor eax, eax
jmp 0x464e2b
cmp dword [esp + 0x88], 8
jb 0x464daf
mov eax, dword [esp + 0x74]
push eax
call fcn.004a93cc
add esp, 4
xor eax, eax
mov dword [esp + 0x88], 7
mov dword [esp + 0x84], eax
mov word [esp + 0x74], ax
mov dword [esp + 0xd0], 0xffffffff
cmp dword [esp + 0xa4], 8
jb 0x464ded
mov ecx, dword [esp + 0x90]
push ecx
call fcn.004a93cc
add esp, 4
xor eax, eax
mov dword [esp + 0xa4], 7
mov dword [esp + 0xa0], eax
mov word [esp + 0x90], ax
mov edx, dword [esp + 0xe4]
push edx
push esi
push ebp
mov ecx, ebp
call fcn.00465fc0
mov ecx, dword [esp + 0x14]
push 1
push ecx
push eax
mov edx, ebp
mov ecx, ebp
call fcn.00463130
mov ecx, dword [esp + 0xc8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xb0]
xor ecx, esp
call fcn.004a9ce9
add esp, 0xc0
ret 0x18