Function at 0x465a40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x525020
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x595be0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x58], ecx
push 0xf0
movzx eax, word [ebp + 8]
push eax
mov ecx, 0x59c7f0
call fcn.00401130
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x30], 0
cmp dword [ebp - 0x74], 0
je 0x465ad8
mov ecx, dword [ebp - 0x74]
push ecx
mov ecx, 0x59c7f0
call fcn.00401130
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 0
je 0x465ad8
mov edx, dword [ebp - 0x5c]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x84], eax
push 5
movzx eax, word [ebp + 8]
push eax
mov ecx, 0x59c7f0
call fcn.00401130
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 0
je 0x465fa8
mov ecx, dword [ebp - 0x78]
push ecx
mov ecx, 0x59c7f0
call fcn.00401130
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x40], 0
cmp dword [ebp - 0x7c], 0
je 0x465fa0
mov edx, dword [ebp - 0x7c]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
je 0x465f96
mov eax, dword [ebp - 0x40]
push eax
call fcn.00459bb0
add esp, 4
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x40]
push ecx
call fcn.00459be0
add esp, 4
mov dx, word [eax]
mov word [ebp - 0x60], dx
mov eax, dword [ebp - 0x40]
push eax
call fcn.00459c10
add esp, 4
mov dword [ebp - 0x24], eax
push 5
lea ecx, [ebp - 0xa4]
push ecx
mov ecx, dword [ebp - 0x58]
add ecx, 4
call fcn.0045a5c0
mov ecx, eax
call fcn.00402a70
mov dword [ebp - 0x44], eax
xor edx, edx
mov word [ebp - 0x2c], dx
jmp 0x465ba0
mov ax, word [ebp - 0x2c]
add ax, 1
mov word [ebp - 0x2c], ax
movzx ecx, word [ebp - 0x2c]
movzx edx, word [ebp - 0x60]
cmp ecx, edx
jge 0x465f94
cmp dword [ebp - 0x28], 0
je 0x465bc1
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x70], ecx
jmp 0x465bcb
mov edx, dword [ebp - 0x24]
movzx eax, word [edx + 0x10]
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x90], ecx
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x24]
push eax
call fcn.00459e80
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x465f65
mov dword [ebp - 0x8c], 0
lea edx, [ebp - 0x8c]
push edx
mov eax, dword [ebp - 0x84]
push eax
mov ecx, dword [ebp - 0x90]
push ecx
call fcn.00459df0
add esp, 0xc
mov dword [ebp - 0x3c], eax
lea ecx, [ebp - 0x34]
call fcn.0040fe20
mov dword [ebp - 4], 0
cmp dword [ebp - 0x3c], 0
je 0x465d04
mov edx, dword [ebp - 0x3c]
push edx
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
je 0x465ce9
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x50]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
call fcn.00429a60
add esp, 8
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0
jne 0x465c8d
call fcn.00458e80
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00458f70
jmp 0x465f94
mov edx, dword [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x8c]
push eax
call fcn.00429a60
add esp, 8
mov dword [ebp - 0x94], eax
xor ecx, ecx
jne 0x465ca6
mov edx, dword [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x94]
push eax
mov ecx, dword [ebp - 0x3c]
push ecx
mov edx, dword [ebp - 0x88]
push edx
call fcn.0042a6a0
add esp, 0x10
mov eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea ecx, [ebp - 0x34]
call fcn.00401720
push eax
push 1
mov ecx, dword [ebp - 0x50]
push ecx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
jmp 0x465d04
mov dword [ebp - 0x30], 0x8007000e
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00458f70
jmp 0x465f94
lea ecx, [ebp - 0x54]
call fcn.004010a0
mov byte [ebp - 4], 1
lea edx, [ebp - 0x54]
push edx
lea ecx, [ebp - 0x34]
call fcn.00402a70
push eax
call fcn.00459ed0
add esp, 8
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jl 0x465f48
push 0
lea ecx, [ebp - 0x38]
call fcn.00466580
cmp dword [ebp - 0x28], 0
je 0x465d4d
mov eax, dword [ebp - 0x24]
add eax, 0x18
mov dword [ebp - 0x80], eax
jmp 0x465d56
mov ecx, dword [ebp - 0x24]
add ecx, 0x12
mov dword [ebp - 0x80], ecx
mov edx, dword [ebp - 0x80]
mov dword [ebp - 0x98], edx
cmp dword [ebp - 0x28], 0
je 0x465d72
mov eax, dword [ebp - 0x24]
mov cx, word [eax + 0xc]
mov word [ebp - 0x48], cx
jmp 0x465d7d
mov edx, dword [ebp - 0x24]
mov ax, word [edx + 8]
mov word [ebp - 0x48], ax
movsx ecx, word [ebp - 0x48]
mov dword [ebp - 0x20], ecx
cmp dword [ebp - 0x28], 0
je 0x465d97
mov edx, dword [ebp - 0x24]
mov ax, word [edx + 0xe]
mov word [ebp - 0x46], ax
jmp 0x465da2
mov ecx, dword [ebp - 0x24]
mov dx, word [ecx + 0xa]
mov word [ebp - 0x46], dx
movsx eax, word [ebp - 0x46]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x28], 0
je 0x465dbc
mov ecx, dword [ebp - 0x24]
mov dx, word [ecx + 0x10]
mov word [ebp - 0x4c], dx
jmp 0x465dc7
mov eax, dword [ebp - 0x24]
mov cx, word [eax + 0xc]
mov word [ebp - 0x4c], cx
movsx edx, word [ebp - 0x4c]
add edx, dword [ebp - 0x20]
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x28], 0
je 0x465de4
mov eax, dword [ebp - 0x24]
mov cx, word [eax + 0x12]
mov word [ebp - 0x4a], cx
jmp 0x465def
mov edx, dword [ebp - 0x24]
mov ax, word [edx + 0xe]
mov word [ebp - 0x4a], ax
movsx ecx, word [ebp - 0x4a]
add ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x14], ecx
lea edx, [ebp - 0x20]
push edx
mov ecx, dword [ebp - 0x58]
call fcn.00466290
cmp dword [ebp - 0x28], 0
je 0x465e16
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x64], ecx
jmp 0x465e20
mov edx, dword [ebp - 0x24]
movzx eax, word [edx + 0x10]
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x28], 0
je 0x465e31
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x68], edx
jmp 0x465e38
mov dword [ebp - 0x68], 0
cmp dword [ebp - 0x28], 0
je 0x465e49
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x6c], ecx
jmp 0x465e51
mov edx, dword [ebp - 0x24]
mov eax, dword [edx]
mov dword [ebp - 0x6c], eax
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x9c], esp
mov edx, dword [ebp - 0x64]
push edx
call fcn.00427800
mov eax, dword [ebp - 0x68]
push eax
mov ecx, dword [ebp - 0x6c]
or ecx, 0x10000
push ecx
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0xa0], esp
lea edx, [ebp - 0x20]
push edx
call fcn.00427800
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax + 4]
push ecx
lea ecx, [ebp - 0x38]
call fcn.004665a0
lea ecx, [ebp - 0x38]
call fcn.00402a70
test eax, eax
je 0x465f40
cmp dword [ebp - 0x28], 0
je 0x465ec2
mov edx, dword [ebp - 0x24]
cmp dword [edx], 0
je 0x465ec2
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x38]
call fcn.0045a670
lea ecx, [ebp - 0x54]
call fcn.00402a70
push eax
push 0
lea ecx, [ebp - 0x34]
call fcn.00402a70
push eax
mov edx, dword [ebp - 0x98]
push edx
lea ecx, [ebp - 0x38]
call fcn.004665e0
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jge 0x465f0e
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.00403950
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00458f70
jmp 0x465f94
movzx eax, word [ebp - 0x2c]
test eax, eax
jne 0x465f1d
mov dword [ebp - 0x44], 0
push 0x13
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x38]
call fcn.0045a330
lea ecx, [ebp - 0x38]
call fcn.00402a70
mov dword [ebp - 0x44], eax
jmp 0x465f48
call fcn.00458e80
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x54]
call fcn.00403950
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00458f70
jmp 0x465f7c
movzx edx, word [ebp - 0x2c]
test edx, edx
je 0x465f7c
push 2
mov eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x24]
push edx
call fcn.00459d20
add esp, 8
mov dword [ebp - 0x24], eax
jmp 0x465b94
jmp 0x465f9e
call fcn.00458e80
mov dword [ebp - 0x30], eax
jmp 0x465fa8
call fcn.00458e80
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004fdc6a
mov esp, ebp
pop ebp
ret 4