Function at 0x409fb0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4360d8
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetErrorMode]
push edi
push 0
call esi
or eax, 0x8001
push eax
call esi
mov edi, dword [esp + 0x5c]
mov ebp, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov eax, dword [edi + 4]
push eax
call ebp
mov esi, eax
test esi, esi
jne 0x40a15e
push edi
lea ecx, [esp + 0x10]
call fcn.00404440
mov dword [esp + 0xc], 0x4392bc
mov eax, dword [esp + 0x14]
mov dword [esp + 0x54], esi
lea esi, [eax - 1]
test esi, esi
jl 0x40a034
mov ecx, dword [esp + 0x10]
mov dl, byte [ecx + esi]
push edx
push 0x442450
call fcn.00406d70
add esp, 8
test al, al
jne 0x40a037
dec esi
jns 0x40a018
or esi, 0xffffffff
inc esi
lea ecx, [esp + 0xc]
lea eax, [esi + 1]
push eax
call fcn.00404330
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x40]
push 0x442448
mov byte [ecx + esi], 0
push eax
mov dword [esp + 0x20], esi
call fcn.004053e0
add esp, 0xc
push eax
push str.PATH
mov byte [esp + 0x5c], 1
call fcn.0041a4d8
add esp, 4
lea ecx, [esp + 0x30]
push eax
push ecx
call fcn.004053e0
add esp, 0xc
mov esi, eax
mov edx, dword [esp + 0xc]
push 0
lea ecx, [esp + 0x10]
mov byte [esp + 0x58], 2
call dword [edx + 4]
push esi
lea ecx, [esp + 0x10]
call fcn.00404380
lea ecx, [esp + 0x2c]
mov byte [esp + 0x54], 1
call fcn.00404dd0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x54], 0
call fcn.00404dd0
lea eax, [esp + 0xc]
lea ecx, [esp + 0x3c]
push eax
push 0x442438
push ecx
call fcn.004053e0
add esp, 0xc
mov esi, eax
mov eax, dword [esi + 8]
mov edx, dword [esi]
push eax
mov ecx, esi
mov byte [esp + 0x58], 3
call dword [edx + 4]
mov esi, dword [esi + 4]
push esi
call fcn.00433c60
add esp, 4
lea ecx, [esp + 0x3c]
mov byte [esp + 0x54], 0
call fcn.00404dd0
mov eax, dword [edi + 4]
push eax
call ebp
mov esi, eax
test esi, esi
jne 0x40a135
lea ecx, [esp + 0xc]
mov dword [esp + 0x54], 0xffffffff
call fcn.00404dd0
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
add esp, 0x4c
ret
mov dword [esp + 0xc], 0x4392ac
lea ecx, [esp + 0xc]
mov dword [esp + 0x54], 4
call fcn.00404ab0
mov dword [esp + 0x54], 0xffffffff
mov dword [esp + 0xc], 0x4392a8
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.SplashInit
push esi
call edi
push str.SplashLoadMemory
push esi
mov ebp, eax
call edi
push str.SplashLoadFile
push esi
mov dword [esp + 0x64], eax
call edi
test ebp, ebp
mov esi, eax
je 0x40a2a3
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [0x446ebc]
call fcn.0040a340
mov eax, dword [esp + 0x24]
mov dword [esp + 0x54], 5
test eax, eax
je 0x40a21a
mov edx, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x20]
call dword [edx + 4]
mov eax, dword [esp + 0x20]
push eax
call fcn.004120a0
add esp, 4
test eax, eax
je 0x40a21a
mov dword [0x446ec8], 1
call ebp
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
push ecx
lea ecx, [esp + 0x20]
call dword [edx + 4]
mov eax, dword [esp + 0x20]
push eax
call esi
add esp, 4
mov dword [esp + 0x1c], 0x4392ac
lea ecx, [esp + 0x1c]
mov dword [esp + 0x54], 6
call fcn.00404ab0
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
add esp, 0x4c
ret
push 0xa
push 0x64
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x40a24b
mov dword [esp + 0x1c], 0x4392ac
lea ecx, [esp + 0x1c]
mov dword [esp + 0x54], 7
call fcn.00404100
test eax, eax
je 0x40a2a3
jmp 0x40a29a
push edi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push 0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test esi, esi
mov edi, eax
jbe 0x40a27d
mov dword [0x446ec8], esi
call ebp
push esi
push edi
call dword [esp + 0x64]
add esp, 8
mov dword [esp + 0x1c], 0x4392ac
lea ecx, [esp + 0x1c]
mov dword [esp + 0x54], 8
call fcn.00404100
test eax, eax
je 0x40a2a3
push eax
call fcn.00419423
add esp, 4
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x4c
ret