Function at 0x40ac00
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x438a08
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 0x40adae
push edi
lea ecx, [esp + 0x10]
call fcn.00404fe0
mov dword [esp + 0xc], 0x43b30c
mov eax, dword [esp + 0x14]
mov dword [esp + 0x54], esi
lea esi, [eax - 1]
test esi, esi
jl 0x40ac84
mov ecx, dword [esp + 0x10]
mov dl, byte [ecx + esi]
push edx
push 0x445464
call fcn.004074d0
add esp, 8
test al, al
jne 0x40ac87
dec esi
jns 0x40ac68
or esi, 0xffffffff
inc esi
lea ecx, [esp + 0xc]
lea eax, [esi + 1]
push eax
call fcn.00404f30
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x40]
push 0x44545c
mov byte [ecx + esi], 0
push eax
mov dword [esp + 0x20], esi
call fcn.00405b70
add esp, 0xc
push eax
push str.PATH
mov byte [esp + 0x5c], 1
call fcn.0041c820
add esp, 4
lea ecx, [esp + 0x30]
push eax
push ecx
call fcn.00405b70
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.00404f80
lea ecx, [esp + 0x2c]
mov byte [esp + 0x54], 1
call fcn.00401b50
lea ecx, [esp + 0x3c]
mov byte [esp + 0x54], 0
call fcn.00401b50
lea eax, [esp + 0xc]
lea ecx, [esp + 0x3c]
push eax
push 0x44544c
push ecx
call fcn.00405b70
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.004364f0
add esp, 4
lea ecx, [esp + 0x3c]
mov byte [esp + 0x54], 0
call fcn.00401b50
mov eax, dword [edi + 4]
push eax
call ebp
mov esi, eax
test esi, esi
jne 0x40ad85
lea ecx, [esp + 0xc]
mov dword [esp + 0x54], 0xffffffff
call fcn.00401b50
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
add esp, 0x4c
ret
mov dword [esp + 0xc], 0x43b2e8
lea ecx, [esp + 0xc]
mov dword [esp + 0x54], 4
call fcn.00401db0
mov dword [esp + 0x54], 0xffffffff
mov dword [esp + 0xc], 0x43b2dc
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 0x40aef3
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [0x449fb4]
call fcn.0040b210
mov eax, dword [esp + 0x24]
mov dword [esp + 0x54], 5
test eax, eax
je 0x40ae6a
mov edx, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x20]
call dword [edx + 4]
mov eax, dword [esp + 0x20]
push eax
call fcn.00413730
add esp, 4
test eax, eax
je 0x40ae6a
mov dword [0x449fc0], 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], 0x43b2e8
lea ecx, [esp + 0x1c]
mov dword [esp + 0x54], 6
call fcn.00401db0
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 0x40ae9b
mov dword [esp + 0x1c], 0x43b2e8
lea ecx, [esp + 0x1c]
mov dword [esp + 0x54], 7
call fcn.00401ec0
test eax, eax
je 0x40aef3
jmp 0x40aeea
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 0x40aecd
mov dword [0x449fc0], esi
call ebp
push esi
push edi
call dword [esp + 0x64]
add esp, 8
mov dword [esp + 0x1c], 0x43b2e8
lea ecx, [esp + 0x1c]
mov dword [esp + 0x54], 8
call fcn.00401ec0
test eax, eax
je 0x40aef3
push eax
call fcn.0041b6a9
add esp, 4
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x4c
ret