Function at 0x482670
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x358
mov ax, word [0x3f59efc]
push ebx
xor ecx, ecx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x3e], ecx
push str.FOR_DISABLE_STACK_TRACE
mov dword [ebp - 0x10], ebx
mov word [ebp - 0x40], ax
mov dword [ebp - 0x3a], ecx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
call fcn.004884f0
add esp, 4
mov esi, 1
test eax, eax
je 0x4826b2
mov dword [ebp - 0x14], esi
lea edx, [ebp - 8]
push edx
push ebx
push 0x4000
call fcn.00481ba0
add esp, 0xc
test eax, eax
je 0x4826cd
mov dword [ebp - 0xc], ebx
jmp 0x4826dc
mov edi, dword [ebp - 8]
mov ecx, 0x1000
xor eax, eax
mov dword [ebp - 0xc], esi
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cmp ecx, ebx
je 0x4826f2
mov eax, edi
mov ebx, edi
shr eax, 0x1e
mov dword [ebp + 8], eax
jmp 0x482700
mov ebx, dword [ebp + 0x1c]
mov eax, edi
mov dword [ebp + 8], eax
and ebx, 0xffff0000
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x482714
mov edx, ebx
xor edx, dword [ebp + 0x14]
and edx, 0xffff
xor ebx, edx
cmp eax, esi
jle 0x48271c
inc eax
mov dword [ebp + 8], eax
test ecx, ecx
je 0x4827cb
mov edx, dword [0x4b9434]
xor eax, eax
test edx, edx
jbe 0x482746
mov ecx, 0x4b9438
cmp dword [ecx], edi
je 0x482743
inc eax
add ecx, 4
cmp eax, edx
jb 0x482735
jmp 0x482746
mov dword [ebp + 0x10], eax
cmp eax, edx
je 0x482776
mov ecx, dword [ebp + 0x10]
push 0
lea eax, [ebp - 0x358]
push 0x189
mov edx, dword [ecx*4 + 0x4b9a40]
push eax
push 0
push 0
push edx
push 0x600
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
test eax, eax
jne 0x48279e
lea edx, [ebp - 0x358]
mov edi, str.Message_not_found_n
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
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, dword [ebp + 0x30]
test eax, eax
jle 0x4827da
mov eax, dword [ebp + 0x28]
test eax, eax
mov eax, dword [ebp + 0x2c]
jne 0x4827b2
lea eax, [ebp + 0x34]
lea ecx, [ebp - 0x358]
push eax
lea edx, [ebp - 0x1cc]
push ecx
push edx
call fcn.004a05a2
add esp, 0xc
jmp 0x482803
mov edi, dword [ebp + 0x18]
test edi, edi
je 0x482776
lea edx, [ebp - 0x358]
jmp 0x482781
lea edi, [ebp - 0x358]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x1cc]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00482610
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp eax, 0x40000192
mov esi, dword [ecx*4 + 0x4b0a18]
je 0x482823
cmp eax, 0x40000196
jne 0x482829
mov esi, dword [str.forrtl:_warning]
mov eax, dword [ebp + 0x20]
test eax, eax
jne 0x4828f1
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x482860
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x1cc]
shl ebx, 0x10
sar ebx, 0x10
push edx
push ebx
push esi
push 0x4be4e8
push eax
call fcn.0049f05c
add esp, 0x14
jmp 0x482dd0
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [ebp - 0x1cc]
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [edx + ecx + 0x15]
lea ecx, [ebp - 4]
push ecx
push 0
push eax
call fcn.00481ba0
add esp, 0xc
test eax, eax
je 0x4828c5
shl ebx, 0x10
sar ebx, 0x10
push ebx
lea edx, [ebp - 0x34]
push 0x4be4f4
push edx
call fcn.0049f05c
lea eax, [ebp - 0x34]
add esp, 0xc
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 8], eax
test ecx, ecx
je 0x482dd0
push eax
jmp 0x482dc8
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x1cc]
shl ebx, 0x10
sar ebx, 0x10
push eax
push ebx
push esi
push str._s___i_:__s
push ecx
mov dword [ebp - 0x10], 1
call fcn.0049f05c
mov eax, dword [ebp - 4]
add esp, 0x14
jmp 0x4828b1
mov eax, dword [0x3f5a180]
test eax, eax
jne 0x482c01
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x482a63
mov edx, dword [ebp - 8]
push 0x4be504
push edx
call fcn.0049f05c
mov edi, str.run_time_error
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, dword [ebp - 8]
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 0x1c]
mov ecx, edx
and ecx, 3
cmp eax, 0xf
rep movsb byte es:[edi], byte [esi]
mov byte [ebp - 0x34], 0x46
jne 0x482955
mov byte [ebp - 0x34], 0x4d
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x34]
shl ebx, 0x10
sar ebx, 0x10
push ebx
push eax
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
mov byte [ebp - 0x33], 0
repne scasb al, byte es:[edi]
not ecx
dec ecx
push str._s_i
add ecx, edx
push ecx
call fcn.0049f05c
mov eax, dword [ebp + 0x1c]
add esp, 0x10
cmp eax, 0x12
jl 0x482990
mov eax, 0x10
mov edi, dword [eax*4 + 0x4ba3b8]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, dword [ebp - 8]
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x1cc]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov eax, dword [ebp + 0x1c]
not ecx
dec ecx
cmp eax, 0xb
mov edx, ecx
jge 0x482a35
mov edi, dword [ebp + 0x24]
test edi, edi
je 0x482a02
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, dword [ebp - 8]
mov ebx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp - 8]
test edx, edx
je 0x482a25
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [0x4be510]
dec edi
mov dword [edi], eax
mov cx, word [0x4be514]
mov word [edi + 4], cx
jmp 0x482a35
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [0x4be518]
repne scasb al, byte es:[edi]
mov dword [edi - 1], edx
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x1cc]
push eax
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 0x4be51c
add ecx, edx
push ecx
call fcn.0049f05c
mov edi, dword [ebp - 4]
add esp, 0xc
jmp 0x482d6a
mov edi, str.run_time_error
or ecx, 0xffffffff
xor eax, eax
mov byte [ebp - 0x34], 0x46
repne scasb al, byte es:[edi]
mov eax, dword [ebp + 0x1c]
not ecx
dec ecx
mov esi, ecx
add esi, 2
cmp eax, 0xf
jne 0x482a87
mov byte [ebp - 0x34], 0x4d
shl ebx, 0x10
sar ebx, 0x10
push ebx
lea ecx, [ebp - 0x33]
push 0x4be524
push ecx
call fcn.0049f05c
lea edi, [ebp - 0x34]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
mov byte [ebp - 0x2f], 0
mov ebx, 0x10
repne scasb al, byte es:[edi]
mov eax, dword [ebp + 0x1c]
not ecx
dec ecx
add esi, ecx
cmp eax, 0x12
jge 0x482ac1
mov ebx, eax
mov edi, dword [ebx*4 + 0x4ba3b8]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [ebp - 0x1cc]
add esi, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov eax, dword [ebp + 0x1c]
mov edi, dword [ebp + 0x24]
not ecx
dec ecx
cmp eax, 0xb
mov edx, ecx
mov dword [ebp + 0x10], edx
jge 0x482b0e
test edi, edi
je 0x482b02
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
add esi, ecx
test edx, edx
je 0x482b0b
add esi, 5
jmp 0x482b0e
add esi, 3
mov edx, dword [ebp + 0x10]
lea eax, [ebp - 4]
push eax
push 0
lea esi, [esi + edx + 3]
push esi
call fcn.00481ba0
add esp, 0xc
test eax, eax
jne 0x482d64
mov edi, dword [ebp - 4]
mov ecx, esi
mov edx, ecx
mov dword [ebp - 0x10], 1
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebx*4 + 0x4ba3b8]
mov edx, dword [ebp - 4]
lea ecx, [ebp - 0x34]
push eax
push ecx
push str.run_time_error
push str._r_n_s_s_s
push edx
call fcn.0049f05c
mov eax, dword [ebp + 0x1c]
add esp, 0x14
cmp eax, 0xb
jge 0x482bd3
mov edi, dword [ebp + 0x24]
test edi, edi
je 0x482b9d
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, dword [ebp - 4]
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp - 4]
test eax, eax
je 0x482bc3
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [str.__r_n_]
dec edi
mov dword [edi], eax
mov cx, word [0x4be538]
mov word [edi + 4], cx
jmp 0x482bd3
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [0x4be53c]
repne scasb al, byte es:[edi]
mov dword [edi - 1], edx
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x1cc]
push eax
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push str._s_r_n
add ecx, edx
push ecx
call fcn.0049f05c
mov edi, dword [ebp - 4]
add esp, 0xc
jmp 0x482d6a
mov esi, dword [ebp + 0x1c]
mov byte [ebp - 0x34], 0x46
cmp esi, 0xf
jne 0x482c11
mov byte [ebp - 0x34], 0x4d
shl ebx, 0x10
sar ebx, 0x10
push ebx
lea ecx, [ebp - 0x33]
push 0x4be548
push ecx
call fcn.0049f05c
lea edi, [ebp - 0x1cc]
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [ebp - 0x2f], 0
mov edx, ecx
mov ebx, 0x10
add edx, 2
cmp esi, 0x12
jge 0x482c4e
mov ebx, esi
mov edi, dword [ebx*4 + 0x4ba3b8]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [ebp - 0x34]
mov esi, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
mov eax, esi
dec ecx
mov esi, ecx
add edx, eax
mov eax, dword [ebp + 0x1c]
add esi, edx
cmp eax, 0xb
jg 0x482ca2
mov edi, dword [ebp + 0x24]
test edi, edi
je 0x482c8f
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
add esi, ecx
lea edi, [ebp - 0x40]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea esi, [esi + ecx + 7]
jmp 0x482ca5
add esi, 5
lea ecx, [ebp - 4]
push ecx
push 0
push esi
call fcn.00481ba0
add esp, 0xc
test eax, eax
jne 0x482d64
mov edx, dword [ebp - 4]
or ecx, 0xffffffff
lea edi, [ebp - 0x34]
mov dword [ebp - 0x10], 1
mov byte [edx], al
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, dword [ebp - 4]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebx*4 + 0x4ba3b8]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, dword [ebp - 4]
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x1cc]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, dword [ebp - 4]
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp - 4]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ax, word [0x4be54c]
dec edi
mov word [edi], ax
mov cl, byte [0x4be54e]
mov byte [edi + 2], cl
mov edi, dword [ebp - 4]
jmp 0x482d6a
lea edi, [ebp - 0x34]
mov dword [ebp - 4], edi
mov eax, dword [0x3f5a180]
test eax, eax
mov eax, dword [ebp - 0xc]
jne 0x482d86
test eax, eax
jne 0x482dd0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], edi
test eax, eax
je 0x482dd0
jmp 0x482dc7
test eax, eax
je 0x482dbd
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, dword [ebp - 8]
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x10]
mov ecx, edx
and ecx, 3
test eax, eax
rep movsb byte es:[edi], byte [esi]
je 0x482dd0
mov eax, dword [ebp - 4]
push eax
jmp 0x482dc8
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], edi
test eax, eax
je 0x482dd0
push edi
call fcn.00481c10
add esp, 4
mov eax, dword [ebp + 8]
pop edi
pop esi
cmp eax, 4
pop ebx
je 0x482e6a
mov ecx, dword [0x43ff6d0]
test ecx, ecx
je 0x482e2c
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x482e2c
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x482e2c
mov eax, dword [ecx + 4]
test eax, eax
jne 0x482e1d
mov eax, dword [ebp + 0xc]
cmp eax, 0x194
je 0x482e1d
cmp eax, 0x40000195
je 0x482e1d
cmp eax, 0x40000196
je 0x482e1d
cmp eax, 0x80000197
jne 0x482e2c
mov edx, dword [ebp - 8]
mov eax, dword [ecx]
push edx
push eax
call fcn.00483030
add esp, 8
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 0x20]
push ecx
push edx
call fcn.00484590
mov eax, dword [ebp - 0xc]
add esp, 8
test eax, eax
je 0x482e53
mov eax, dword [ebp - 8]
push eax
call fcn.00481c10
add esp, 4
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x482e4f
mov ecx, dword [ebp - 4]
push ecx
call fcn.00481c10
add esp, 4
mov esp, ebp
pop ebp
ret
push str.FOR_GENERATE_DEBUG_EXCEPTION
call fcn.004884f0
add esp, 4
test eax, eax
mov eax, dword [0x43ff6d0]
je 0x482ea9
cmp dword [ebp + 0xc], 0xc00000a9
je 0x482ea9
test eax, eax
je 0x482ea9
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x482ea9
push 0
push 0
push 1
push 0xc0000025
call dword [sym.imp.KERNEL32.dll_RaiseException]
mov ecx, dword [ebp - 0x14]
test ecx, ecx
jne 0x482eca
test eax, eax
je 0x482eca
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x482eca
mov edx, dword [ebp - 8]
mov eax, dword [eax]
push edx
push eax
call fcn.00483030
add esp, 8
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 0x20]
push ecx
push edx
call fcn.00484590
mov eax, dword [ebp - 0xc]
add esp, 8
test eax, eax
je 0x482ee7
mov eax, dword [ebp - 8]
push eax
jmp 0x482ef2
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x482efa
mov ecx, dword [ebp - 4]
push ecx
call fcn.00481c10
add esp, 4
mov eax, dword [0x43ff6d0]
test eax, eax
je 0x482f0e
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x482e4f
call fcn.00489db0
mov eax, dword [0x43ff6d0]
test eax, eax
je 0x482f2f
push eax
call fcn.00481c10
add esp, 4
mov dword [0x43ff6d0], 0
push str.FOR__IS_DEBUGGER_PRESENT
call fcn.004884f0
add esp, 4
test eax, eax
je 0x482f46
call dword [sym.imp.KERNEL32.dll_DebugBreak]
push str.f77_dump_flag
call fcn.004884f0
add esp, 4
test eax, eax
jne 0x482f84
push str.decfort_dump_flag
call fcn.004884f0
add esp, 4
test eax, eax
jne 0x482f84
mov eax, dword [0x3f5a180]
test eax, eax
je 0x482f7b
push 1
call fcn.004aa240
add esp, 4
mov edx, dword [ebp + 0xc]
push edx
call fcn.0049ef87
jmp 0x4a0712
push 0xa
call fcn.004a169e
push 0x16
call fcn.004a000c
pop ecx
pop ecx
push 3
call fcn.0049ef98