Function at 0x451b70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x538bc0
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x58c758]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x84], ecx
push 0xf0
movzx eax, word [ebp + 8]
push eax
mov ecx, 0x590da4
call fcn.00428ef0
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
cmp dword [ebp - 0x20], 0
je 0x451c02
mov ecx, dword [ebp - 0x20]
push ecx
mov ecx, 0x590da4
call fcn.00428ef0
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x451c02
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x10], eax
push 5
movzx eax, word [ebp + 8]
push eax
mov ecx, 0x590da4
call fcn.00428ef0
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4520b4
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, 0x590da4
call fcn.00428ef0
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], 0
cmp dword [ebp - 0x28], 0
je 0x4520ac
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x4520a2
mov eax, dword [ebp - 0x24]
push eax
call fcn.0042ee90
add esp, 4
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.0042eeb0
add esp, 4
mov dx, word [eax]
mov word [ebp - 0x38], dx
mov eax, dword [ebp - 0x24]
push eax
call fcn.0042eee0
add esp, 4
mov dword [ebp - 0x30], eax
push 5
lea ecx, [ebp - 0x78]
push ecx
mov ecx, dword [ebp - 0x84]
add ecx, 4
call fcn.0042f450
mov ecx, eax
call fcn.0043e290
mov dword [ebp - 0x34], eax
xor edx, edx
mov word [ebp - 0x3c], dx
jmp 0x451cca
mov ax, word [ebp - 0x3c]
add ax, 1
mov word [ebp - 0x3c], ax
movzx ecx, word [ebp - 0x3c]
movzx edx, word [ebp - 0x38]
cmp ecx, edx
jge 0x4520a0
cmp dword [ebp - 0x2c], 0
je 0x451cee
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x88], ecx
jmp 0x451cfb
mov edx, dword [ebp - 0x30]
movzx eax, word [edx + 0x10]
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x88]
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x30]
push eax
call fcn.0042f130
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x452071
mov dword [ebp - 0x44], 0
lea edx, [ebp - 0x44]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x40]
push ecx
call fcn.0042f0a0
add esp, 0xc
mov dword [ebp - 0x50], eax
lea ecx, [ebp - 0x48]
call fcn.004752d0
mov dword [ebp - 4], 0
cmp dword [ebp - 0x50], 0
je 0x451dce
mov edx, dword [ebp - 0x50]
push edx
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
je 0x451db3
mov eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x58], ecx
mov edx, dword [ebp - 0x50]
push edx
mov eax, dword [ebp - 0x58]
push eax
mov ecx, dword [ebp - 0x50]
push ecx
mov edx, dword [ebp - 0x5c]
push edx
call fcn.00429c10
add esp, 0x10
mov eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea ecx, [ebp - 0x48]
call fcn.00405080
push eax
push 1
mov ecx, dword [ebp - 0x54]
push ecx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
jmp 0x451dce
mov dword [ebp - 0x1c], 0x8007000e
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.00471a00
jmp 0x4520a0
lea ecx, [ebp - 0x4c]
call fcn.00435bc0
mov byte [ebp - 4], 1
lea edx, [ebp - 0x4c]
push edx
lea ecx, [ebp - 0x48]
call fcn.0043e290
push eax
call fcn.0042f170
add esp, 8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jl 0x452054
push 0
lea ecx, [ebp - 0x74]
call fcn.0042f4a0
cmp dword [ebp - 0x2c], 0
je 0x451e1a
mov eax, dword [ebp - 0x30]
add eax, 0x18
mov dword [ebp - 0x8c], eax
jmp 0x451e26
mov ecx, dword [ebp - 0x30]
add ecx, 0x12
mov dword [ebp - 0x8c], ecx
mov edx, dword [ebp - 0x8c]
mov dword [ebp - 0x70], edx
cmp dword [ebp - 0x2c], 0
je 0x451e45
mov eax, dword [ebp - 0x30]
mov cx, word [eax + 0xc]
mov word [ebp - 0x8e], cx
jmp 0x451e53
mov edx, dword [ebp - 0x30]
mov ax, word [edx + 8]
mov word [ebp - 0x8e], ax
movsx ecx, word [ebp - 0x8e]
mov dword [ebp - 0x6c], ecx
cmp dword [ebp - 0x2c], 0
je 0x451e73
mov edx, dword [ebp - 0x30]
mov ax, word [edx + 0xe]
mov word [ebp - 0x90], ax
jmp 0x451e81
mov ecx, dword [ebp - 0x30]
mov dx, word [ecx + 0xa]
mov word [ebp - 0x90], dx
movsx eax, word [ebp - 0x90]
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x2c], 0
je 0x451ea1
mov ecx, dword [ebp - 0x30]
mov dx, word [ecx + 0x10]
mov word [ebp - 0x92], dx
jmp 0x451eaf
mov eax, dword [ebp - 0x30]
mov cx, word [eax + 0xc]
mov word [ebp - 0x92], cx
movsx edx, word [ebp - 0x92]
add edx, dword [ebp - 0x6c]
mov dword [ebp - 0x64], edx
cmp dword [ebp - 0x2c], 0
je 0x451ed2
mov eax, dword [ebp - 0x30]
mov cx, word [eax + 0x12]
mov word [ebp - 0x94], cx
jmp 0x451ee0
mov edx, dword [ebp - 0x30]
mov ax, word [edx + 0xe]
mov word [ebp - 0x94], ax
movsx ecx, word [ebp - 0x94]
add ecx, dword [ebp - 0x68]
mov dword [ebp - 0x60], ecx
lea edx, [ebp - 0x6c]
push edx
mov ecx, dword [ebp - 0x84]
call fcn.0042f480
cmp dword [ebp - 0x2c], 0
je 0x451f10
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x98], ecx
jmp 0x451f1d
mov edx, dword [ebp - 0x30]
movzx eax, word [edx + 0x10]
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x2c], 0
je 0x451f31
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x9c], edx
jmp 0x451f3b
mov dword [ebp - 0x9c], 0
cmp dword [ebp - 0x2c], 0
je 0x451f4f
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 8]
mov dword [ebp - 0xa0], ecx
jmp 0x451f5a
mov edx, dword [ebp - 0x30]
mov eax, dword [edx]
mov dword [ebp - 0xa0], eax
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x7c], esp
mov edx, dword [ebp - 0x98]
push edx
call fcn.00420e90
mov eax, dword [ebp - 0x9c]
push eax
mov ecx, dword [ebp - 0xa0]
or ecx, 0x10000
push ecx
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x80], esp
lea edx, [ebp - 0x6c]
push edx
call fcn.00420e90
mov eax, dword [ebp - 0x84]
mov ecx, dword [eax + 4]
push ecx
lea ecx, [ebp - 0x74]
call fcn.0042f4c0
lea ecx, [ebp - 0x74]
call fcn.0043e290
test eax, eax
je 0x45204c
cmp dword [ebp - 0x2c], 0
je 0x451fd1
mov edx, dword [ebp - 0x30]
cmp dword [edx], 0
je 0x451fd1
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
push ecx
lea ecx, [ebp - 0x74]
call fcn.0042f530
lea ecx, [ebp - 0x4c]
call fcn.0043e290
push eax
push 0
lea ecx, [ebp - 0x48]
call fcn.0043e290
push eax
mov edx, dword [ebp - 0x70]
push edx
lea ecx, [ebp - 0x74]
call fcn.0042f500
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jge 0x45201a
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.00428ab0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.00471a00
jmp 0x4520a0
movzx eax, word [ebp - 0x3c]
test eax, eax
jne 0x452029
mov dword [ebp - 0x34], 0
push 0x13
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x74]
call fcn.004286d0
lea ecx, [ebp - 0x74]
call fcn.0043e290
mov dword [ebp - 0x34], eax
jmp 0x452054
call fcn.004295a0
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.00428ab0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.00471a00
jmp 0x452088
movzx edx, word [ebp - 0x3c]
test edx, edx
je 0x452088
push 2
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x30]
push edx
call fcn.0042efe0
add esp, 8
mov dword [ebp - 0x30], eax
jmp 0x451cbe
jmp 0x4520aa
call fcn.004295a0
mov dword [ebp - 0x1c], eax
jmp 0x4520b4
call fcn.004295a0
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4