Function at 0x3998bf0
Capabilities:
Create thread

Disassembly:
sub esp, 0x218
mov eax, dword [0x3a7682c]
xor eax, esp
mov dword [esp + 0x214], eax
push 0x3a79440
call dword [0x3a5ff08]
cmp byte [esp + 0x21c], 0
mov dword [0x3a79458], 4
jne 0x399901b
push 1
push 0x3a49554
call fcn.0395a7a0
add esp, 8
test eax, eax
sete al
test al, al
jne 0x399901b
push esi
push 0x3a3cd90
call fcn.039d8100
push 0
push 0xffffffffffffffff
push 0x39da3e0
mov esi, eax
push str.MessageBoxA
push esi
call fcn.039d9080
push 0
push 0xffffffffffffffff
push 0x39da3e0
push 0x3a4953c
push esi
call fcn.039d9080
push 0
push 0xffffffffffffffff
push 0x3997d10
push 0x3a49530
push esi
call fcn.039d9080
add esp, 0x40
push 0
push 0xffffffffffffffff
push 0x3997f50
push str.ShowWindowAsync
push esi
call fcn.039d9080
add esp, 0x14
call fcn.039340c0
test al, al
jne 0x3998cd2
push str.statusbar:_not_launching__2nd_process_n
call fcn.0393dda0
add esp, 4
pop esi
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.03a00f6a
add esp, 0x218
ret
mov esi, dword [0x3a5fd3c]
push 0
call esi
mov ecx, dword [eax + 0x3c]
cmp word [ecx + eax + 0x5c], 3
jne 0x3998cee
mov byte [0x3a79028], 1
push ebx
push edi
call fcn.0395a5a0
mov edi, eax
mov eax, dword [edi + 0x48]
mov dword [esp + 0xc], eax
test eax, eax
je 0x3998f0e
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
call fcn.03934290
push eax
call dword [0x3a5fdb0]
mov esi, eax
cmp esi, 0xffffffff
jne 0x3998d56
call fcn.03934290
push eax
push str._statusbar_could_not_open_Wadfilename__ls_n
call fcn.0393dda0
add esp, 8
pop edi
pop ebx
pop esi
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.03a00f6a
add esp, 0x218
ret
mov eax, dword [edi + 0x40]
push ebp
push 0
lea edx, [edi + 0x44]
push edx
push eax
push esi
call dword [0x3a5ffb0]
push 0
push str..BitmapsFormat
call fcn.0395a6d0
add esp, 8
test eax, eax
je 0x3998e94
mov ebp, dword [0x3a5fe08]
push 0
lea ecx, [esp + 0x18]
push ecx
push 4
lea edx, [esp + 0x1c]
push edx
push esi
call ebp
mov eax, dword [esp + 0x10]
add eax, 4
push eax
call fcn.0393d960
mov edx, dword [esp + 0x14]
add esp, 4
push 0
lea ecx, [esp + 0x18]
push ecx
add edx, 4
push edx
mov edi, eax
push edi
push esi
call ebp
mov eax, dword [edi]
push eax
mov dword [esp + 0x1c], eax
call fcn.0393d960
mov ecx, dword [esp + 0x14]
mov ebx, eax
mov eax, dword [esp + 0x1c]
push eax
push ebx
add ecx, 0xfffffffc
push ecx
lea edx, [edi + 4]
push edx
call fcn.039e6150
push edi
call fcn.0393d9b0
lea edi, [ebx + 0xe]
mov eax, edi
call fcn.03997cc0
push edi
push eax
mov dword [0x3a78f24], eax
call fcn.03997aa0
push ebx
mov dword [0x3a7933c], eax
call fcn.0393d9b0
add esp, 0x24
push 0
lea eax, [esp + 0x18]
push eax
push 4
lea ecx, [esp + 0x1c]
push ecx
push esi
call ebp
mov eax, dword [esp + 0x10]
test eax, eax
je 0x3998efe
add eax, 4
push eax
call fcn.0393d960
add esp, 4
mov edi, eax
mov eax, dword [esp + 0x10]
push 0
lea edx, [esp + 0x18]
push edx
add eax, 4
push eax
push edi
push esi
call ebp
mov ebp, dword [edi]
push ebp
call fcn.0393d960
mov ecx, dword [esp + 0x14]
push ebp
mov ebx, eax
push ebx
add ecx, 0xfffffffc
push ecx
lea edx, [edi + 4]
push edx
call fcn.039e6150
push edi
call fcn.0393d9b0
lea eax, [ebx + 0xe]
call fcn.03997cc0
push ebx
mov dword [0x3a79468], eax
call fcn.0393d9b0
add esp, 0x1c
push esi
call dword [0x3a5fd90]
mov esi, dword [0x3a5fd3c]
pop ebp
jmp 0x3998f1b
mov eax, dword [esp + 0x10]
push eax
call fcn.0393d960
mov edx, dword [esp + 0x14]
add esp, 4
push 0
lea ecx, [esp + 0x1c]
push ecx
push edx
mov edi, eax
push edi
push esi
call dword [0x3a5fe08]
mov ebp, dword [edi]
push ebp
call fcn.0393d960
mov ebx, eax
mov eax, dword [esp + 0x14]
push ebp
push ebx
add eax, 0xfffffffc
push eax
lea ecx, [edi + 4]
push ecx
call fcn.039e6150
push edi
call fcn.0393d9b0
lea edi, [ebx + 0xe]
mov eax, edi
call fcn.03997cc0
push edi
push eax
mov dword [0x3a78f24], eax
call fcn.03997aa0
push ebx
mov dword [0x3a7933c], eax
call fcn.0393d9b0
add esp, 0x24
push esi
call dword [0x3a5fd90]
mov esi, dword [0x3a5fd3c]
pop ebp
jmp 0x3998f1b
push str._statusbar_image_not_present_n
call fcn.0393dda0
add esp, 4
push 0
call esi
push 0x104
lea edx, [esp + 0x1c]
push edx
push 0
mov ebx, eax
call esi
push eax
call dword [0x3a5fd4c]
push 2
push 0
lea eax, [esp + 0x20]
push eax
call dword [0x3a5fd60]
mov edi, eax
test edi, edi
je 0x3998f93
push 0
push 0x3998200
push 0xe
push edi
call dword [0x3a60270]
cmp word [0x3a790b0], 0
push 0
push 0x20
push 0x20
push 1
jne 0x3998f77
mov ecx, dword [0x3a78f20]
push ecx
push edi
jmp 0x3998f81
push 0x3a790b0
push 0
call esi
push eax
call dword [0x3a6026c]
push edi
mov dword [0x3a7902c], eax
call dword [0x3a5fd5c]
cmp dword [0x3a7902c], 0
jne 0x3998ff2
push 3
push 1
push ebx
call dword [0x3a5fd58]
mov esi, eax
test esi, esi
je 0x3998fd7
push esi
push ebx
call dword [0x3a60118]
mov edi, eax
test edi, edi
je 0x3998fd7
push 0x30000
push 1
push esi
push ebx
call dword [0x3a60268]
push eax
push edi
call dword [0x3a60264]
mov dword [0x3a7902c], eax
cmp dword [0x3a7902c], 0
jne 0x3998ff2
push 0x7f00
push 0
call dword [0x3a60260]
mov dword [0x3a7902c], eax
push 0
push 0
push 0
push 0x39988b0
push 0
push 0
mov dword [0x3a79458], 0
call fcn.03a01906
add esp, 0x18
pop edi
pop ebx
mov dword [0x3a79478], eax
pop esi
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.03a00f6a
add esp, 0x218
ret