Function at 0x41d870
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 0x41d94a
push eax
mov dword [esp], str.FOR__IS_DEBUGGER_PRESENT
call fcn.0043b830
add esp, 4
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xac]
test eax, eax
jne 0x41d94a
push eax
mov dword [esp], str.FOR_DEBUGGER_IS_PRESENT
call fcn.0043b830
add esp, 4
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0xa4]
test eax, eax
je 0x41d954
mov dword [ebp - 0xc4], 1
push eax
mov dword [esp], str.FOR_DISABLE_STACK_TRACE
call fcn.0043b830
add esp, 4
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa8]
test eax, eax
je 0x41d980
mov dword [ebp - 0xc8], 1
jmp 0x41d98a
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.0042a770
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 0x41d9d4
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.0041e3f0
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 0x41da74
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 0x41dad8
add esp, 0xfffffff4
mov eax, 0x1f4
lea edx, [ebp - 0xe8]
lea ecx, [ebp - 0xe4]
call fcn.0041e3f0
add esp, 0xc
mov dword [ebp - 0x94], eax
add esp, 0xfffffff4
lea eax, [ebp - 0x404]
mov dword [esp], eax
mov dword [esp + 4], 0x4e7180
mov eax, dword [ebp - 0xe4]
mov dword [esp + 8], eax
call fcn.004792a0
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 0x41db2f
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.004797d0
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 [0x50bbd8]
test eax, eax
je 0x41dc19
mov eax, dword [ebp - 0xe4]
mov ecx, eax
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x41db5b
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x41db46
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 [0x50bbd8]
cmp eax, edx
jae 0x41dbef
mov eax, dword [0x50bbd4]
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 [0x50bbd4]
mov edx, 0x20
mov ecx, dword [ebp - 0x84]
neg ecx
add ecx, dword [0x50bbd8]
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 0x41dc19
mov eax, dword [0x50bbd4]
mov edx, dword [ebp - 0xe4]
mov ecx, dword [0x50bbd8]
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.0041ee20
mov eax, dword [ebp - 0xe8]
imul eax, eax, 4
mov edx, 0x509280
add edx, eax
mov eax, dword [edx]
mov dword [ebp - 0xdc], eax
call fcn.0041e160
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xd4]
test eax, eax
je 0x41dc65
mov eax, 0x509280
mov edx, 0x14
add eax, edx
mov eax, dword [eax]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xcc]
test eax, eax
je 0x41dd1f
mov dword [ebp - 0x70], eax
add esp, 0xfffffff4
mov dword [esp], 0x50b9c0
mov eax, dword [ebp - 0xdc]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xec]
mov dword [esp + 8], eax
call fcn.004792a0
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], 0x50b9c0
mov eax, dword [ebp - 0xe4]
mov dword [esp + 0xc], eax
call fcn.004792a0
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 0x41deea
add esp, 0xfffffff4
mov eax, dword [ebp - 0x70]
add eax, dword [ebp - 0xe0]
mov dword [esp], eax
mov eax, 0x509280
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.004792a0
add esp, 0xc
mov dword [ebp - 0x54], eax
jmp 0x41deea
mov eax, dword [ebp - 0xdc]
mov ecx, eax
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x41dd3e
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x41dd29
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 0x41dd60
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x41dd4b
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 0x41ddb0
mov eax, dword [ebp - 0xd8]
mov ecx, eax
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x41dd9e
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x41dd89
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.0042a770
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
je 0x41de45
call fcn.0047a0a0
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.0041e1c0
add esp, 0xc
mov dword [ebp - 0x4c], eax
add esp, 0xfffffff4
mov eax, 0x40
add eax, dword [ebp - 0x50]
mov dword [esp], eax
mov dword [esp + 4], 0x4e7180
mov eax, dword [ebp - 0x4c]
mov dword [esp + 8], eax
call fcn.0047a680
add esp, 0xc
mov dword [ebp - 0x40], eax
jmp 0x41deea
mov dword [ebp - 0x48], eax
mov dword [ebp - 0xcc], 2
add esp, 0xfffffff4
mov dword [esp], 0x50b9c0
mov eax, dword [ebp - 0xdc]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xec]
mov dword [esp + 8], eax
call fcn.004792a0
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], 0x50b9c0
mov eax, dword [ebp - 0xe4]
mov dword [esp + 0xc], eax
call fcn.004792a0
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 0x41deea
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.004792a0
add esp, 0xc
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0xe8]
cmp eax, 4
jne 0x41df15
jmp 0x41df8d
mov eax, dword [ebp - 0xc8]
test eax, eax
jne 0x41df8d
mov eax, dword [ebp - 0xcc]
cmp eax, 1
je 0x41df20
jmp 0x41df8d
mov eax, dword [0x5164e0]
test eax, eax
jne 0x41defa
jmp 0x41df8d
mov eax, dword [0x5164e0]
mov eax, dword [eax + 4]
test eax, eax
jne 0x41df6b
mov eax, dword [ebp - 0xe8]
cmp eax, 3
je 0x41df6b
mov eax, dword [ebp - 0xec]
cmp eax, 0x194
je 0x41df6b
mov eax, dword [ebp - 0xec]
cmp eax, 0x195
je 0x41df6b
mov eax, dword [ebp - 0xec]
cmp eax, 0x196
je 0x41df6b
mov eax, dword [ebp - 0xec]
cmp eax, 0x197
jne 0x41df8d
add esp, 0xfffffff8
mov eax, dword [0x5164e0]
mov eax, dword [eax]
mov dword [esp], eax
mov eax, dword [ebp - 0xe0]
mov dword [esp + 4], eax
call fcn.0043bd70
add esp, 8
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0xe8]
cmp eax, 4
je 0x41e00d
mov eax, dword [ebp - 0xcc]
test eax, eax
je 0x41dfda
add esp, 0xfffffff8
mov eax, dword [ebp - 0xe0]
mov edx, dword [ebp - 0xec]
call fcn.0041ec00
add esp, 8
mov dword [ebp - 0x38], eax
push eax
mov eax, dword [ebp - 0xe0]
mov dword [esp], eax
call fcn.0042a830
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 0x41e158
mov eax, dword [ebp - 0xe8]
cmp eax, 3
jne 0x41e158
mov eax, dword [0x5164e0]
mov eax, dword [eax + 4]
test eax, eax
jne 0x41e158
int3
mov eax, dword [ebp - 0xc8]
test eax, eax
jne 0x41e04d
mov eax, dword [0x5164e0]
test eax, eax
je 0x41e04d
mov eax, dword [ebp - 0xcc]
cmp eax, 1
jne 0x41e04d
add esp, 0xfffffff8
mov eax, dword [0x5164e0]
mov eax, dword [eax]
mov dword [esp], eax
mov eax, dword [ebp - 0xe0]
mov dword [esp + 4], eax
call fcn.0043bd70
add esp, 8
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xcc]
test eax, eax
je 0x41e08f
add esp, 0xfffffff8
mov eax, dword [ebp - 0xe0]
mov edx, dword [ebp - 0xec]
call fcn.0041ec00
add esp, 8
mov dword [ebp - 0x2c], eax
push eax
mov eax, dword [ebp - 0xe0]
mov dword [esp], eax
call fcn.0042a830
add esp, 4
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xbc], eax
mov eax, dword [0x5164e0]
test eax, eax
je 0x41e0ac
mov eax, dword [0x5164e0]
mov eax, dword [eax + 4]
test eax, eax
je 0x41e0ac
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
leave
ret
call fcn.0043bfc0
mov dword [ebp - 0x1c], eax
mov eax, dword [0x5164e0]
test eax, eax
je 0x41e0db
push eax
mov eax, dword [0x5164e0]
mov dword [esp], eax
call fcn.0042a830
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [0x5164e0], 0
mov eax, dword [ebp - 0xc4]
test eax, eax
je 0x41e0e6
int3
push eax
mov dword [esp], str.f77_dump_flag
call fcn.0043b830
add esp, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x41e123
push eax
mov dword [esp], str.decfort_dump_flag
call fcn.0043b830
add esp, 4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x41e123
mov eax, dword [0x50bbd0]
test eax, eax
je 0x41e128
call fcn.0047aa10
mov eax, dword [0x516200]
test eax, eax
je 0x41e146
push eax
mov dword [esp], 1
call fcn.004cde50
add esp, 4
mov dword [ebp - 0xc], eax
jmp 0x41e158
push eax
mov eax, dword [ebp - 0xec]
mov dword [esp], eax
call fcn.0047ab40
add esp, 4
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
leave
ret