Function at 0x412330
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov dword [ebp - 4], edi
mov dword [ebp - 8], esi
mov dword [ebp - 0xf0], eax
mov dword [ebp - 0xec], eax
mov dword [ebp - 0xe8], eax
mov dword [ebp - 0xe4], eax
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xd0], 0
mov dword [ebp - 0xcc], 0
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xb8], 0x600
mov dword [ebp - 0xb4], eax
mov eax, dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
call eax
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xb0]
test eax, eax
jne 0x41240a
push eax
mov dword [esp], str.FOR__IS_DEBUGGER_PRESENT
call fcn.00427a20
add esp, 4
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xac]
test eax, eax
jne 0x41240a
push eax
mov dword [esp], str.FOR_DEBUGGER_IS_PRESENT
call fcn.00427a20
add esp, 4
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xa4]
test eax, eax
je 0x412414
mov dword [ebp - 0xc4], 1
push eax
mov dword [esp], str.FOR_DISABLE_STACK_TRACE
call fcn.00427a20
add esp, 4
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa8]
test eax, eax
je 0x412440
mov dword [ebp - 0xc8], 1
jmp 0x41244a
mov dword [ebp - 0xc8], 0
add esp, 0xfffffff4
mov dword [esp], 0x4000
mov dword [esp + 4], 0
lea eax, [ebp - 0xe0]
mov dword [esp + 8], eax
call fcn.0040fc60
add esp, 0xc
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xbc]
test eax, eax
jne 0x412494
mov dword [ebp - 0xcc], 1
mov eax, dword [ebp + 8]
and eax, 0xffff
mov dword [ebp - 0xec], eax
add esp, 0xfffffff4
mov eax, dword [ebp - 0xec]
lea edx, [ebp - 0xe8]
lea ecx, [ebp - 0xe4]
call fcn.00412ed0
add esp, 0xc
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xbc]
test eax, eax
jne 0x412534
add esp, 0xffffffe4
mov eax, dword [ebp - 0xb8]
mov dword [esp], eax
mov eax, dword [ebp - 0xe4]
mov dword [esp + 4], eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
lea eax, [ebp - 0x404]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0x189
mov dword [esp + 0x18], 0
mov eax, dword [sym.imp.KERNEL32.dll_FormatMessageA]
call eax
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xbc]
test eax, eax
jne 0x412598
add esp, 0xfffffff4
mov eax, 0x1f4
lea edx, [ebp - 0xe8]
lea ecx, [ebp - 0xe4]
call fcn.00412ed0
add esp, 0xc
mov dword [ebp - 0x94], eax
add esp, 0xfffffff4
lea eax, [ebp - 0x404]
mov dword [esp], eax
mov dword [esp + 4], 0x4cd98c
mov eax, dword [ebp - 0xe4]
mov dword [esp + 8], eax
call fcn.0046c0a0
add esp, 0xc
mov dword [ebp - 0x90], eax
lea eax, [ebp - 0x404]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp + 0xc]
test eax, eax
jle 0x4125ef
lea eax, [ebp + 0xc]
add eax, 4
mov dword [ebp - 0xf0], eax
add esp, 0xfffffff4
lea eax, [ebp - 0x27b]
mov dword [esp], eax
mov eax, dword [ebp - 0xe4]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xf0]
mov dword [esp + 8], eax
call fcn.0046c5d0
add esp, 0xc
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0xf0], 0
lea eax, [ebp - 0x27b]
mov dword [ebp - 0xe4], eax
mov eax, dword [0x4ea258]
test eax, eax
je 0x4126d9
mov eax, dword [ebp - 0xe4]
mov ecx, eax
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x41261b
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x412606
dec eax
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
mov edx, dword [0x4ea258]
cmp eax, edx
jae 0x4126af
mov eax, dword [0x4ea254]
mov edx, dword [ebp - 0xe4]
mov ecx, dword [ebp - 0x84]
mov edi, eax
mov esi, edx
mov edx, edi
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, edx
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x84]
add eax, dword [0x4ea254]
mov edx, 0x20
mov ecx, dword [ebp - 0x84]
neg ecx
add ecx, dword [0x4ea258]
mov edi, eax
mov eax, edx
and eax, 0xffff
mov ah, al
mov edx, eax
shl eax, 0x10
or eax, edx
mov esi, ecx
shr ecx, 2
mov edx, edi
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
mov eax, edx
mov dword [ebp - 0x74], eax
jmp 0x4126d9
mov eax, dword [0x4ea254]
mov edx, dword [ebp - 0xe4]
mov ecx, dword [0x4ea258]
mov edi, eax
mov esi, edx
mov edx, edi
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, edx
mov dword [ebp - 0x80], eax
call fcn.004146e0
mov eax, dword [ebp - 0xe8]
imul eax, eax, 4
mov edx, 0x4e7844
add edx, eax
mov eax, dword [edx]
mov dword [ebp - 0xdc], eax
call fcn.00412c40
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xd4]
test eax, eax
je 0x412725
mov eax, 0x4e7844
mov edx, 0x14
add eax, edx
mov eax, dword [eax]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xcc]
test eax, eax
je 0x4127df
mov dword [ebp - 0x70], eax
add esp, 0xfffffff4
mov dword [esp], 0x4ea040
mov eax, dword [ebp - 0xdc]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xec]
mov dword [esp + 8], eax
call fcn.0046c0a0
add esp, 0xc
mov dword [ebp - 0x6c], eax
add esp, 0xfffffff0
mov eax, dword [ebp - 0xe0]
mov dword [esp], eax
mov dword [esp + 4], str._s_s_r_n
mov dword [esp + 8], 0x4ea040
mov eax, dword [ebp - 0xe4]
mov dword [esp + 0xc], eax
call fcn.0046c0a0
add esp, 0x10
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0xd4]
test eax, eax
je 0x4129ae
add esp, 0xfffffff4
mov eax, dword [ebp - 0x70]
add eax, dword [ebp - 0xe0]
mov dword [esp], eax
mov eax, 0x4e7844
mov edx, 0x14
add eax, edx
mov eax, dword [eax]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xd4]
mov dword [esp + 8], eax
call fcn.0046c0a0
add esp, 0xc
mov dword [ebp - 0x54], eax
jmp 0x4129ae
mov eax, dword [ebp - 0xdc]
mov ecx, eax
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x4127fe
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x4127e9
dec eax
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0xe4]
mov ecx, eax
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x412820
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x41280b
dec eax
mov dword [ebp - 0x64], eax
mov eax, 0x14
add eax, dword [ebp - 0x68]
add eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xd4]
test eax, eax
je 0x412870
mov eax, dword [ebp - 0xd8]
mov ecx, eax
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x41285e
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x412849
dec eax
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
add eax, dword [ebp - 0xd0]
mov dword [ebp - 0xd0], eax
add esp, 0xfffffff4
mov eax, dword [ebp - 0xd0]
mov dword [esp], eax
mov dword [esp + 4], 0
lea eax, [ebp - 0xe0]
mov dword [esp + 8], eax
call fcn.0040fc60
add esp, 0xc
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xbc]
test eax, eax
jne 0x4128db
jmp 0x412909
add esp, 0xfffffff4
mov eax, 0x40
add eax, dword [ebp - 0x50]
mov dword [esp], eax
mov dword [esp + 4], 0x4cd98c
mov eax, dword [ebp - 0x4c]
mov dword [esp + 8], eax
call fcn.0046d480
add esp, 0xc
mov dword [ebp - 0x40], eax
jmp 0x4129ae
call fcn.0046cea0
mov dword [ebp - 0x50], eax
add esp, 0xfffffff4
mov dword [esp], 0x1f6
mov dword [esp + 4], 1
mov eax, dword [ebp + 8]
mov dword [esp + 8], eax
call fcn.00412ca0
add esp, 0xc
mov dword [ebp - 0x4c], eax
jmp 0x4128ae
mov dword [ebp - 0x48], eax
mov dword [ebp - 0xcc], 2
add esp, 0xfffffff4
mov dword [esp], 0x4ea040
mov eax, dword [ebp - 0xdc]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xec]
mov dword [esp + 8], eax
call fcn.0046c0a0
add esp, 0xc
mov dword [ebp - 0x44], eax
add esp, 0xfffffff0
mov eax, dword [ebp - 0xe0]
mov dword [esp], eax
mov dword [esp + 4], str._s_s_r_n
mov dword [esp + 8], 0x4ea040
mov eax, dword [ebp - 0xe4]
mov dword [esp + 0xc], eax
call fcn.0046c0a0
add esp, 0x10
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0xd4]
test eax, eax
je 0x4129ae
add esp, 0xfffffff4
mov eax, dword [ebp - 0x48]
add eax, dword [ebp - 0xe0]
mov dword [esp], eax
mov eax, dword [ebp - 0xd8]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xd4]
mov dword [esp + 8], eax
call fcn.0046c0a0
add esp, 0xc
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0xe8]
cmp eax, 4
jne 0x4129d9
jmp 0x412a51
mov eax, dword [ebp - 0xc8]
test eax, eax
jne 0x412a51
mov eax, dword [ebp - 0xcc]
cmp eax, 1
je 0x4129e4
jmp 0x412a51
mov eax, dword [0x4f4840]
test eax, eax
jne 0x4129be
jmp 0x412a51
mov eax, dword [0x4f4840]
mov eax, dword [eax + 4]
test eax, eax
jne 0x412a2f
mov eax, dword [ebp - 0xe8]
cmp eax, 3
je 0x412a2f
mov eax, dword [ebp - 0xec]
cmp eax, 0x194
je 0x412a2f
mov eax, dword [ebp - 0xec]
cmp eax, 0x195
je 0x412a2f
mov eax, dword [ebp - 0xec]
cmp eax, 0x196
je 0x412a2f
mov eax, dword [ebp - 0xec]
cmp eax, 0x197
jne 0x412a51
add esp, 0xfffffff8
mov eax, dword [0x4f4840]
mov eax, dword [eax]
mov dword [esp], eax
mov eax, dword [ebp - 0xe0]
mov dword [esp + 4], eax
call fcn.00427f30
add esp, 8
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0xe8]
cmp eax, 4
je 0x412ad8
mov eax, dword [ebp - 0xcc]
test eax, eax
je 0x412aa5
add esp, 0xfffffff8
mov eax, dword [ebp - 0xe0]
mov edx, dword [ebp - 0xec]
call fcn.004144c0
add esp, 8
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x38], 0
push eax
mov eax, dword [ebp - 0xe0]
mov dword [esp], eax
call fcn.0040fd20
add esp, 4
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xc4]
test eax, eax
je 0x412c2a
mov eax, dword [ebp - 0xe8]
cmp eax, 3
jne 0x412c2a
mov eax, dword [0x4f4840]
mov eax, dword [eax + 4]
test eax, eax
jne 0x412c2a
int3
mov eax, dword [ebp - 0xc8]
test eax, eax
jne 0x412b18
mov eax, dword [0x4f4840]
test eax, eax
je 0x412b18
mov eax, dword [ebp - 0xcc]
cmp eax, 1
jne 0x412b18
add esp, 0xfffffff8
mov eax, dword [0x4f4840]
mov eax, dword [eax]
mov dword [esp], eax
mov eax, dword [ebp - 0xe0]
mov dword [esp + 4], eax
call fcn.00427f30
add esp, 8
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xcc]
test eax, eax
je 0x412b61
add esp, 0xfffffff8
mov eax, dword [ebp - 0xe0]
mov edx, dword [ebp - 0xec]
call fcn.004144c0
add esp, 8
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x2c], 0
push eax
mov eax, dword [ebp - 0xe0]
mov dword [esp], eax
call fcn.0040fd20
add esp, 4
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xbc], eax
mov eax, dword [0x4f4840]
test eax, eax
je 0x412b7e
mov eax, dword [0x4f4840]
mov eax, dword [eax + 4]
test eax, eax
je 0x412b7e
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
leave
ret
call fcn.00428190
mov dword [ebp - 0x1c], eax
mov eax, dword [0x4f4840]
test eax, eax
je 0x412bad
push eax
mov eax, dword [0x4f4840]
mov dword [esp], eax
call fcn.0040fd20
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [0x4f4840], 0
mov eax, dword [ebp - 0xc4]
test eax, eax
je 0x412bb8
int3
push eax
mov dword [esp], str.f77_dump_flag
call fcn.00427a20
add esp, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x412bf5
push eax
mov dword [esp], str.decfort_dump_flag
call fcn.00427a20
add esp, 4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x412bf5
mov eax, dword [0x4ea250]
test eax, eax
je 0x412bfa
call fcn.0046d810
mov eax, dword [0x4f4560]
test eax, eax
je 0x412c18
push eax
mov dword [esp], 1
call fcn.004b8010
add esp, 4
mov dword [ebp - 0xc], eax
jmp 0x412c2a
push eax
mov eax, dword [ebp - 0xec]
mov dword [esp], eax
call fcn.0046d940
add esp, 4
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
leave
ret