Function at 0x40eae0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x423cd3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x148c
call fcn.0041a210
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1494], ecx
call dword [0x42a058]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x1494]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x448], 0
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0
jne 0x40eb5f
mov dword [ebp - 0x1498], 0
jmp 0x40ec81
mov edx, dword [ebp - 0x14]
push edx
call fcn.00419340
lea eax, [eax + eax + 2]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x400
jg 0x40ebb0
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.0040e170
add esp, 4
movzx edx, al
test edx, edx
je 0x40ebb0
mov eax, dword [ebp - 0x38]
add eax, 3
and eax, 0xfffffffc
call fcn.0041a210
mov dword [ebp - 0x149c], esp
mov dword [ebp - 0x10], esp
mov eax, dword [ebp - 0x149c]
mov dword [ebp - 0x46c], eax
jmp 0x40ec09
mov ecx, dword [ebp - 0x464]
mov dword [ebp - 0x46c], ecx
mov edx, dword [ebp - 0x38]
add edx, 8
push edx
call fcn.0041ab97
add esp, 4
mov dword [ebp - 0x460], eax
cmp dword [ebp - 0x460], 0
jne 0x40ebe6
mov dword [ebp - 0x46c], 0
jmp 0x40ec09
mov eax, dword [ebp - 0x460]
mov ecx, dword [ebp - 0x3c]
mov dword [eax], ecx
mov edx, dword [ebp - 0x460]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x460]
add eax, 8
mov dword [ebp - 0x46c], eax
mov ecx, dword [ebp - 0x470]
mov dword [ebp - 0x1498], ecx
cmp dword [ebp - 0x46c], 0
je 0x40ec24
cmp dword [ebp - 0x14], 0
jne 0x40ec30
mov dword [ebp - 0x1498], 0
jmp 0x40ec81
mov edx, dword [ebp - 0x46c]
mov byte [edx], 0
push 0
push 0
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x46c]
push ecx
push 0xffffffffffffffff
mov edx, dword [ebp - 0x14]
push edx
push 0
mov eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x468], eax
cmp dword [ebp - 0x468], 0
jne 0x40ec75
mov dword [ebp - 0x1498], 0
jmp 0x40ec81
mov ecx, dword [ebp - 0x46c]
mov dword [ebp - 0x1498], ecx
mov edx, dword [ebp - 0x1498]
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x18], 0
jne 0x40ecf1
mov dword [ebp - 0x458], 0x8007000e
mov byte [ebp - 4], 0
lea eax, [ebp - 0x444]
cmp dword [ebp - 0x448], eax
je 0x40ecb7
lea ecx, [ebp - 0x448]
call fcn.00412350
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x3c], 0
je 0x40ece6
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x474], ecx
mov edx, dword [ebp - 0x3c]
mov eax, dword [edx]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x474]
push ecx
call fcn.0041a820
add esp, 4
jmp 0x40ecbe
mov eax, dword [ebp - 0x458]
jmp 0x40eea0
push 2
push 0
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x40ed18
call fcn.0040e210
mov dword [ebp - 0x450], eax
jmp 0x40ee32
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x44c], eax
cmp dword [ebp - 0x44c], 0
jne 0x40ed49
call fcn.0040e210
mov dword [ebp - 0x450], eax
jmp 0x40ee32
mov eax, dword [ebp - 0x44c]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x454], eax
cmp dword [ebp - 0x454], 0
jne 0x40ed79
call fcn.0040e210
mov dword [ebp - 0x450], eax
jmp 0x40ee32
mov edx, dword [ebp - 0x44c]
push edx
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x454]
mov dword [ebp - 0x1c], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x2c]
add edx, 1
mov dword [ebp - 0x478], edx
cmp dword [ebp - 0x478], 0x400
jbe 0x40edc6
mov eax, dword [ebp - 0x478]
push eax
lea ecx, [ebp - 0x448]
call fcn.00412380
jmp 0x40edd2
lea ecx, [ebp - 0x444]
mov dword [ebp - 0x448], ecx
jmp 0x40edda
mov dword [ebp - 4], 1
cmp dword [ebp - 0x448], 0
jne 0x40edf6
mov dword [ebp - 0x450], 0x8007000e
jmp 0x40ee32
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x448]
push ecx
call fcn.0041a310
add esp, 0xc
mov edx, dword [ebp - 0x448]
add edx, dword [ebp - 0x2c]
mov byte [edx], 0
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp - 0x448]
push ecx
lea ecx, [ebp - 0x28]
call fcn.0040f200
mov dword [ebp - 0x450], eax
cmp dword [ebp - 0x20], 0
je 0x40ee42
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x450]
mov dword [ebp - 0x45c], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x444]
cmp dword [ebp - 0x448], ecx
je 0x40ee6b
lea ecx, [ebp - 0x448]
call fcn.00412350
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x3c], 0
je 0x40ee9a
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x1490], edx
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x1490]
push edx
call fcn.0041a820
add esp, 4
jmp 0x40ee72
mov eax, dword [ebp - 0x45c]
lea esp, [ebp - 0x14a8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10