Function at 0x4045e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4139c8
mov eax, dword fs:[0]
push eax
sub esp, 0x844
mov eax, dword [0x439198]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x824], ecx
mov dword [ebp - 4], 0
push 0x41cc1c
push 0x81
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x818], eax
cmp dword [ebp - 0x818], 0
jne 0x40465d
mov dword [ebp - 0x828], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00401270
mov eax, dword [ebp - 0x828]
jmp 0x4047ac
mov eax, dword [ebp - 0x818]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x830], eax
mov dword [ebp - 0x840], str.4jkJ
push 0x400
lea ecx, [ebp - 0x810]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov dword [ebp - 0x81c], 0
mov edx, dword [ebp - 0x81c]
add edx, 1
mov dword [ebp - 0x81c], edx
mov eax, dword [ebp - 0x818]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x820], eax
cmp dword [ebp - 0x820], 0
jne 0x4046f5
mov dword [ebp - 0x838], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00401270
mov eax, dword [ebp - 0x838]
jmp 0x4047ac
mov ecx, dword [ebp - 0x820]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x814], eax
cmp dword [ebp - 0x814], 0
jne 0x404732
mov dword [ebp - 0x83c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00401270
mov eax, dword [ebp - 0x83c]
jmp 0x4047ac
movzx edx, byte [ebp + 8]
test edx, edx
je 0x40478b
mov d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iEscSxGNv27cERyPIPAcYP6CuuWaCdiUpS5URNzgWvwsNxGWzfaeNiEbcyGurdkc2uSLFxOsxWGmiaOYVNbRKzBFSkfPjpXEsm8roFRRx1NdnnXuqP7UDQVyOCJmTuAC4L1iXeOvMgvxDsn1G4pV1wnPScOtdOMokmIxbqwQG7R9Xjt9tzscl6n2xGwRynmiLcl7AzuWfUs7DuUsCQzMQe2bNDnvzLiHYHWJDaXj1TeLbdyy0O5yEHdOhslBghNWGHzQyMS1aaEHugq5CHe7Drq1bsREUMgrEqbIrdRDpIDOMaMExcbPyxVmfOMobSixHuGlbjhf3tveD15VRm8QWcFUPFsQ0HGGLS0vw9arYb5lUz0APC93gLijRXEjF7tiS1UI0RgmDyCONemiKPj8FL8FPzCjOzQN5Dfj1O1B58OAQ2gJWdDwgNfDOh2GoafFyWHkMqAmUoRQUDXFUn5pSFpmtI1uEFhmxu1BmiQgmGm5bpVN9kyMhg4w2qc6dsKnkfMLBbmu9eoYbgPRguWmWFnijRB50yIelxEaeVmKEaszJOzDVC5Ci4doGlJmhEop279UJAPgOvy62jcTWVIRuN9195z3C4ctX5LVwirJ7c75zD1r7YB7ymrVebtyXINXLX0RJnzqFY1kbju4nIp8kl5m3Dlzxd0s8Gdapfi57BzR1tlAHwMvvwJ5klt2UNRwQxN0nunXGCB4zXrRb7kzAMMnk4C80kCKNc4kjPkSfwmtEdSKXDxoUdk2Vu2l2kJMTJhSH9j99DuWpiY7iBXQCW8nxbmpxWQeaDFaTqdynhcCiVePsW2xIkHdcyJkp0OJILqq1NDsvw3
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x844], esp
lea eax, [ebp + 0xc]
push eax
call fcn.00402540
mov dword [ebp - 0x848], eax
mov ecx, dword [ebp - 0x830]
push ecx
push 0
mov edx, dword [ebp - 0x814]
push edx
mov ecx, dword [ebp - 0x824]
call fcn.00405910
mov dword [ebp - 0x82c], eax
mov eax, dword [ebp - 0x82c]
mov dword [ebp - 0x814], eax
mov ecx, dword [ebp - 0x814]
mov dword [ebp - 0x834], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00401270
mov eax, dword [ebp - 0x834]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00407404
mov esp, ebp
pop ebp
ret 0x1c