Function at 0x404460
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4143d3
mov eax, dword fs:[0]
push eax
sub esp, 0x840
mov eax, dword [0x465148]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x838], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x840], str.OWkqCevCSdy8gDalfzfMbwELJmvXmoO62vUYdhOM98qYvogvlCdcEmgdcwpkeVeb9GyONlwcadQocaTMUOhtUPIt6TxKYA55eYJS13CeySU6HqkIxmsUv9T8knd7J8dkQPqpRGjd20DxkMsmnnbal7QORdDYnwa1ex4RE8YykL0X60Wg8Rm3DdNcN63LFNbH7jv1YWfDjNTpWV8w8IjJUzeRe4AAadctQe6RQkTRT5gBAF3KgISC6WLxoymlg5RXngBIx5XG72R7Bls4WyjmlIjSyqqIbVxhajh7EFDw0qxfmiO5gMjSdWTB8TM8Yng4i7NQ9emOKp025XgWNR2oyiOpwAqNxcMtrlj1itJ5AAWlOWElL97lz5v2ivfFzjAbPxoYHPAMPS1Lq0yrWSCtLhGd138vBMPnh76kjjWpSDOECYfVFb5M0ucHo0TM1OmKaqWVmz3vcCTaVUF3R5swqV8jcykLXJLxtFRWrWiBkVKaIXwt3tcdxvLOeh8uw1jtIWiNtomfU5Rl9q9ujbaEdJB1r82JuiWN4h48Ht30E0B6fJEQjRHTyLkJOsD6AjohbwuTHrqrlXnDQtMNhaBg5qPPr1xQh01cnulimbJbPFtVDn3a3u8lA8d9rVj8VmSluOPNUbpO4cbH6iDd1fV0f0Ky4IpMGBN3W5EaUB6041GqyepMaFdkuIXVBkiqx3f7NJVlggFlU0dmak0e1UwJ8Gzdt1nrjaqTC7dE9zbxNnRwTSEnJ0WRiTsh7v10DxfhzryB8CSfYMIIAipA2SYCs0J45Sw00UgAqQr047f9MhPuRaWLbmBcnhJyYD99HdPLumNU9rUYChb9caGj39d3a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KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x818], eax
cmp dword [ebp - 0x818], 0
jne 0x4044e4
mov dword [ebp - 0x83c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00401d20
mov eax, dword [ebp - 0x83c]
jmp 0x40461d
mov eax, dword [ebp - 0x818]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x820], eax
push 0x400
lea ecx, [ebp - 0x810]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov edx, dword [ebp - 0x818]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x81c], eax
cmp dword [ebp - 0x81c], 0
jne 0x40454f
mov dword [ebp - 0x830], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00401d20
mov eax, dword [ebp - 0x830]
jmp 0x40461d
mov eax, dword [ebp - 0x81c]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x814], eax
cmp dword [ebp - 0x814], 0
jne 0x404599
mov dword [ebp - 0x84c], str.hLNOi9mnUrskmtmF91etzg6NNSaluKyk2SJXU1fmOHwCscOBcguJ2FkCqfvl7nwUQG35K6ysCwmLvT4IjlVy9Ast76bB7gzUcVuoPRCuv3EuUSuiFFsY31kVvWKpIYo1waGgTmif5Jo8guxYrqQdxskpFD9Ep5HkcI4dm32lnfTEl2KOKyFzaWth9fATMbnlyDRSmYSiVxPG8RJgFLnw90kJV4EkHRgVUNb4IIqyIPawQlc7cxcHqH2TuKeNeKnowMUH0iRpaCc2TPSCj7cPEAjLG8wLAuKnxXOQpjX48FyLMnaO4iK1RGlX8B7KQ33inJ5CVbH2Yl3z7nWtvltlpnaeYoPXpLDqkOFlV2G82ceOh7xIdq1UCB0kSqc3Hl0nGmFnTLRfOq9DFIsMefN47PaclH1t0sAEOwIdacbhSgAnWYwVJU9VjIFhs7zYUu2LaQm7N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c74gcTYkT40j44PxHlTzEoUMuEj8JuVE8w5A9MatRtmpbD1mPv0gJMRczUC3I1HgKm8KrbbRJnSe6wjEr1pAhnIJ31BCx4oIX2FS7d2uGqoBzj3MPc9wCAXzdjonYhuoWiNkf79fBaNaP9
mov dword [ebp - 0x828], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00401d20
mov eax, dword [ebp - 0x828]
jmp 0x40461d
movzx ecx, byte [ebp + 8]
test ecx, ecx
je 0x4045fc
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x848], esp
lea edx, [ebp + 0xc]
push edx
call fcn.00401910
mov dword [ebp - 0x834], eax
mov eax, dword [ebp - 0x834]
mov dword [ebp - 0x844], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x820]
push ecx
push 0
mov edx, dword [ebp - 0x814]
push edx
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x838]
call fcn.00405da0
mov dword [ebp - 0x82c], eax
mov eax, dword [ebp - 0x82c]
mov dword [ebp - 0x814], eax
mov ecx, dword [ebp - 0x814]
mov dword [ebp - 0x824], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00401d20
mov eax, dword [ebp - 0x824]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004098de
mov esp, ebp
pop ebp
ret 0x1c