Function at 0xa01700
Capabilities:
Create thread
Extract resource via kernel32 functions
Read file on windows

Disassembly:
sub esp, 0x214
push ebx
push esi
push edi
push 0xaf3e88
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov al, byte [esp + 0x224]
mov dword [0xaf3fb0], 4
test al, al
jne 0xa019ae
push 1
push 0xaa2f70
call fcn.00a351c0
add esp, 8
test eax, eax
sete al
test al, al
jne 0xa019ae
push str.user32.dll
call fcn.00a466e0
push 0xffffffffffffffff
push 0
mov esi, eax
push 0xa016c0
push str.MessageBoxA
push esi
call fcn.00a468b0
push 0xffffffffffffffff
push 0
push 0xa016c0
push str.MessageBoxW
push esi
call fcn.00a468b0
push 0xffffffffffffffff
push 0
push 0xa016e0
push str.ShowWindow
push esi
call fcn.00a468b0
add esp, 0x40
push 0xffffffffffffffff
push 0
push 0xa016e0
push str.ShowWindowAsync
push esi
call fcn.00a468b0
add esp, 0x14
call fcn.009f8670
test al, al
jne 0xa017cb
push str.statusbar:_not_launching__2nd_process_n
call fcn.009fe320
add esp, 4
pop edi
pop esi
pop ebx
add esp, 0x214
ret
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ecx, dword [eax + 0x3c]
cmp word [ecx + eax + 0x5c], 3
jne 0xa017e5
mov byte [0xaf3d00], 1
call fcn.00a35860
mov esi, eax
mov ebx, dword [esi + 0x48]
test ebx, ebx
jne 0xa0180a
push str._statusbar_image_not_present_n
call fcn.009fe320
add esp, 4
pop edi
pop esi
pop ebx
add esp, 0x214
ret
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
call fcn.009f9560
push eax
call fcn.00a227b0
mov edi, eax
cmp edi, 0xffffffff
jne 0xa0184c
mov edx, dword [0xaf47e0]
push edx
push str._statusbar_could_not_open_Wadfilename__ls_n
call fcn.009fe320
add esp, 8
pop edi
pop esi
pop ebx
add esp, 0x214
ret
mov ecx, dword [esi + 0x40]
push ebp
lea eax, [esi + 0x44]
push 0
push eax
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
call fcn.009ef3b0
add esp, 4
lea edx, [esp + 0x14]
mov esi, eax
push 0
push edx
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ebp, dword [esi]
push ebp
call fcn.009ef3b0
push ebp
mov dword [esp + 0x18], eax
push eax
add ebx, 0xfffffffc
lea eax, [esi + 4]
push ebx
push eax
call fcn.00a6e7e0
add esp, 0x14
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call fcn.009ef440
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00a015b0
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
add esp, 8
push 0
call edi
lea edx, [esp + 0x1c]
push 0x104
push edx
push 0
mov ebx, eax
call edi
push eax
call fcn.00a221b0
push 2
lea eax, [esp + 0x20]
push 0
push eax
call fcn.00a23050
mov esi, eax
pop ebp
test esi, esi
je 0xa0192d
push 0
push 0xa019c0
push 0xe
push esi
call dword [sym.imp.KERNEL32.dll_EnumResourceNamesA]
mov al, byte [0xaf3fb4]
push 0
push 0x20
push 0x20
test al, al
push 1
jne 0xa01911
mov ecx, dword [0xaf3fa8]
push ecx
push esi
jmp 0xa0191b
push 0xaf3fb4
push 0
call edi
push eax
call dword [sym.imp.USER32.dll_LoadImageA]
push esi
mov dword [0xaf40b8], eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [0xaf40b8]
test eax, eax
jne 0xa0198c
push 3
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0xa01971
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0xa01971
push 0x30000
push 1
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push edi
call dword [sym.imp.USER32.dll_CreateIconFromResource]
mov dword [0xaf40b8], eax
mov eax, dword [0xaf40b8]
test eax, eax
jne 0xa0198c
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [0xaf40b8], eax
lea edx, [esp + 0x14]
mov dword [0xaf3fb0], 0
push edx
push 0
push 0
push 0xa00c90
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop esi
pop ebx
add esp, 0x214
ret