Function at 0x40a2f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42f498
mov eax, dword fs:[0]
push eax
sub esp, 0x848
mov eax, dword [0x493224]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x84c], ecx
mov dword [ebp - 4], 0
push 0x443164
push 0x84
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x40a371
mov dword [ebp - 0x838], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00403fd0
mov eax, dword [ebp - 0x838]
jmp 0x40a513
mov eax, dword [ebp - 0x18]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x824], eax
mov dword [ebp - 0x14], str.E912ivw6T21WF1MDuNMzVXSiIBWJixLuFEX1L1fOXlS1lTXWY14zvJhNhhFeepQGlNSDY35tJP42pupWr3COVfk6BeNd27jvxi7QBkvS1XPCFebx120rvx6XAax9WcCAccUm6IIld7RBidAxUvGhqNnJECyKxMqxkYvGOeAEiwj8Ja9Stm8VEnEeN304GHz13v44U0JbOlMzMryr4TKO1G8LENqkBn8Fw2IwmirJVClzA3I99QS59mHfm7S5OSlc0cyQXzGJkgt3AEKVghPDx9Y0E5P7dVGgO2CBond2i69czwXJ2EScvVfWTKfvXSOzoXR64po1HPMrEASwbRfa9Iwu00uzCKBRcMhojwkC05gwgreir95NqHvypCpV2a8SNJInfIRhciRoagU2
push 0x400
lea ecx, [ebp - 0x81c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov dword [ebp - 0x82c], 0x43290f
push 0x43a53c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x820], eax
mov dword [ebp - 0x828], 0
cmp dword [ebp - 0x820], 0
je 0x40a3e4
push 0x443904
mov edx, dword [ebp - 0x820]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x828], eax
cmp dword [ebp - 0x828], 0
je 0x40a3ff
mov eax, dword [ebp - 0x18]
push eax
push 0
call dword [ebp - 0x828]
mov dword [ebp - 0x82c], eax
cmp dword [ebp - 0x820], 0
je 0x40a415
mov ecx, dword [ebp - 0x820]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [ebp - 0x82c], 0
jne 0x40a442
mov dword [ebp - 0x83c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00403fd0
mov eax, dword [ebp - 0x83c]
jmp 0x40a513
mov edx, dword [ebp - 0x82c]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x830], eax
cmp dword [ebp - 0x830], 0
jne 0x40a482
mov dword [ebp - 0x840], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00403fd0
mov eax, dword [ebp - 0x840]
jmp 0x40a513
movzx eax, byte [ebp + 8]
test eax, eax
je 0x40a4d3
push 2
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x844], esp
lea edx, [ebp + 0xc]
push edx
call fcn.00403f90
mov dword [ebp - 0x850], eax
mov eax, dword [ebp - 0x824]
push eax
push 0
mov ecx, dword [ebp - 0x830]
push ecx
mov ecx, dword [ebp - 0x84c]
call fcn.0040a1a0
mov dword [ebp - 0x854], eax
mov edx, dword [ebp - 0x854]
mov dword [ebp - 0x830], edx
mov eax, dword [ebp - 0x824]
push eax
mov ecx, dword [ebp - 0x830]
push ecx
mov ecx, dword [ebp - 0x84c]
call fcn.0040a530
mov dword [ebp - 0x830], eax
mov edx, dword [ebp - 0x830]
mov dword [ebp - 0x848], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00403fd0
mov eax, dword [ebp - 0x848]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004195fb
mov esp, ebp
pop ebp
ret 0x20