Function at 0x40a0c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4378b8
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 0x40a26e
push edi
lea ecx, [esp + 0x10]
call fcn.00404430
mov dword [esp + 0xc], 0x43a2e4
mov eax, dword [esp + 0x14]
mov dword [esp + 0x54], esi
lea esi, [eax - 1]
test esi, esi
jl 0x40a144
mov ecx, dword [esp + 0x10]
mov dl, byte [ecx + esi]
push edx
push 0x444460
call fcn.00406ca0
add esp, 8
test al, al
jne 0x40a147
dec esi
jns 0x40a128
or esi, 0xffffffff
inc esi
lea ecx, [esp + 0xc]
lea eax, [esi + 1]
push eax
call fcn.00404320
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x40]
push 0x444458
mov byte [ecx + esi], 0
push eax
mov dword [esp + 0x20], esi
call fcn.004053f0
add esp, 0xc
push eax
push str.PATH
mov byte [esp + 0x5c], 1
call fcn.0041b768
add esp, 4
lea ecx, [esp + 0x30]
push eax
push ecx
call fcn.004053f0
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.00404370
lea ecx, [esp + 0x2c]
mov byte [esp + 0x54], 1
call fcn.004150e0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x54], 0
call fcn.004150e0
lea eax, [esp + 0xc]
lea ecx, [esp + 0x3c]
push eax
push 0x444448
push ecx
call fcn.004053f0
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.00435440
add esp, 4
lea ecx, [esp + 0x3c]
mov byte [esp + 0x54], 0
call fcn.004150e0
mov eax, dword [edi + 4]
push eax
call ebp
mov esi, eax
test esi, esi
jne 0x40a245
lea ecx, [esp + 0xc]
mov dword [esp + 0x54], 0xffffffff
call fcn.004150e0
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
add esp, 0x4c
ret
mov dword [esp + 0xc], 0x43a2d4
lea ecx, [esp + 0xc]
mov dword [esp + 0x54], 4
call fcn.00404d10
mov dword [esp + 0x54], 0xffffffff
mov dword [esp + 0xc], 0x43a2d0
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 0x40a3b3
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [0x448f54]
call fcn.0040a450
mov eax, dword [esp + 0x24]
mov dword [esp + 0x54], 5
test eax, eax
je 0x40a32a
mov edx, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x20]
call dword [edx + 4]
mov eax, dword [esp + 0x20]
push eax
call fcn.00412760
add esp, 4
test eax, eax
je 0x40a32a
mov dword [0x448f60], 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], 0x43a2d4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x54], 6
call fcn.00404d10
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 0x40a35b
mov dword [esp + 0x1c], 0x43a2d4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x54], 7
call fcn.00416b30
test eax, eax
je 0x40a3b3
jmp 0x40a3aa
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 0x40a38d
mov dword [0x448f60], esi
call ebp
push esi
push edi
call dword [esp + 0x64]
add esp, 8
mov dword [esp + 0x1c], 0x43a2d4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x54], 8
call fcn.00416b30
test eax, eax
je 0x40a3b3
push eax
call fcn.0041a6b3
add esp, 4
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x4c
ret