Function at 0x403ff0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x408]
sub esp, 0x408
push 0xffffffffffffffff
push 0x40e5a0
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x4c
mov eax, dword [0x416188]
xor eax, ebp
mov dword [ebp + 0x404], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x5c], 3
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x58], 0
mov dword [ebp], 0
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 0x410]
mov dword [ebp - 0x30], ecx
push 0x60
push 0
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x40408e
push 2
push 0
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x4040a1
call fcn.00402780
mov dword [ebp - 0x18], eax
jmp 0x4041c2
mov ecx, dword [ebp + 0x418]
push ecx
mov edx, dword [ebp + 0x414]
push edx
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x4040cf
call fcn.00402780
mov dword [ebp - 0x18], eax
jmp 0x4041c2
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x4040f3
call fcn.00402780
mov dword [ebp - 0x18], eax
jmp 0x4041c2
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x1c]
add eax, 1
cmp eax, dword [ebp - 0x1c]
jae 0x404121
mov dword [ebp - 0x18], 0x8007000e
jmp 0x4041c2
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x1c]
add ecx, 1
push ecx
lea ecx, [ebp]
call fcn.00402290
jmp 0x40413c
mov dword [ebp - 4], 1
jmp 0x40414c
mov edx, dword [ebp]
mov dword [ebp - 0x34], edx
cmp dword [ebp - 0x34], 0
jne 0x404161
mov dword [ebp - 0x18], 0x8007000e
jmp 0x4041c2
mov eax, dword [ebp]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x3c]
push edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x4c]
push ecx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x404194
call fcn.00402780
mov dword [ebp - 0x18], eax
jmp 0x4041c2
mov edx, dword [ebp]
mov dword [ebp - 0x44], edx
xor eax, eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x44]
mov word [edx + ecx*2], ax
mov eax, dword [ebp]
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp + 0x41c]
push ecx
mov edx, dword [ebp - 0x48]
push edx
lea ecx, [ebp - 0x58]
call fcn.00403e60
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x14], 0
je 0x4041d2
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x40], ecx
mov byte [ebp - 4], 0
lea edx, [ebp + 4]
cmp dword [ebp], edx
je 0x4041ec
lea ecx, [ebp]
call fcn.00402da0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x20], 0
je 0x404215
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x38]
push eax
call fcn.0040671f
add esp, 4
jmp 0x4041f3
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x404]
xor ecx, ebp
call fcn.00406c34
add ebp, 0x408
mov esp, ebp
pop ebp
ret 0x10