Function at 0x53bd00
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov ecx, dword [0x5a0360]
push ebx
push esi
xor esi, esi
cmp ecx, esi
push edi
mov dword [ebp - 4], esi
mov eax, 1
jne 0x53bd22
mov dword [0x5a0360], eax
cmp dword [0x5a0364], esi
je 0x53bd36
push esi
mov dword [0x5a0360], esi
call fcn.0056446a
mov ebx, dword [ebp + 0x10]
mov dword [0x5a0364], eax
mov eax, dword [ebp + 0xc]
cmp eax, esi
jne 0x53bd7f
test ebx, 0x8000000
jne 0x53bd7f
call fcn.00554400
mov eax, dword [0x5a3d24]
mov dword [0x5a0360], esi
cmp eax, esi
je 0x53bd79
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
dec eax
neg eax
sbb eax, eax
not eax
and eax, edx
push eax
call fcn.0056edf0
add esp, 4
push esi
call fcn.0056446a
mov ecx, dword [ebp + 8]
mov edi, ebx
and edi, 0x8000000
mov dword [ebp - 8], ecx
mov dword [ebp + 0x10], eax
mov dword [ebp - 0xc], esi
mov dword [ebp + 8], esi
je 0x53bdc3
cmp eax, esi
jne 0x53bdaa
mov dword [ebp - 8], str.Stop___Program_terminated.
mov dword [ebp + 0x10], 0x1a
cmp dword [ebp + 0x18], esi
je 0x53bdc3
mov dword [ebp - 8], str.Return_code
mov dword [ebp + 0x10], 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp + 8], eax
cmp edi, esi
je 0x53bdce
mov dword [ebp - 4], 6
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0x2c]
push 0x22
lea edx, [ebp + 0xc]
push ecx
push edx
push eax
call fcn.00549f30
add esp, 0x10
cmp eax, esi
je 0x53be0d
test bl, 1
je 0x53bdf9
pop edi
pop esi
and eax, 0xffff
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
push 0x58254c
push ecx
push 2
push eax
call fcn.005469f0
add esp, 0x10
mov esi, dword [ebp + 0xc]
test byte [esi + 0x128], 1
jne 0x53bfd0
mov eax, dword [esi + 0x12c]
mov edx, ebx
shr edx, 0xa
and edx, 0x100
and ah, 0xfe
or edx, eax
mov ecx, ebx
mov dword [esi + 0x12c], edx
mov eax, dword [ebp + 0xc]
and ecx, 0x80
mov edx, dword [eax + 0x128]
shl ecx, 0xf
and edx, 0xffbfffff
or ecx, edx
mov dword [eax + 0x128], ecx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 0x12c]
mov edx, eax
xor edx, ebx
and edx, 0x8000000
xor edx, eax
mov eax, ebx
and eax, 0x80000000
mov dword [ecx + 0x12c], edx
mov ecx, dword [ebp + 0x1c]
mov edx, ebx
neg eax
sbb eax, eax
and eax, ecx
mov ecx, dword [ebp + 0xc]
shr edx, 5
mov esi, dword [ecx + 0x12c]
and edx, 0x200000
and esi, 0xffdfffff
or edx, esi
lea esi, [edi + edi]
mov dword [ecx + 0x12c], edx
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x12c]
and edx, 0xefffffff
or edx, esi
mov dword [ecx + 0x12c], edx
mov ecx, dword [ebp + 0xc]
mov edx, ebx
mov esi, dword [ecx + 0x130]
shr edx, 0x13
and edx, 0x200
and esi, 0xfffffdff
or edx, esi
mov dword [ecx + 0x130], edx
mov ecx, dword [ebp + 0xc]
mov edx, ebx
mov esi, dword [ecx + 0x130]
shr edx, 0x11
and edx, 0x400
and esi, 0xfffffbff
or edx, esi
mov dword [ecx + 0x130], edx
mov ecx, dword [ebp + 0xc]
mov edx, ebx
mov esi, dword [ecx + 0x130]
shr edx, 0x12
and edx, 0x800
and esi, 0xfffff7ff
or edx, esi
mov dword [ecx + 0x130], edx
mov ecx, dword [ebp + 0xc]
shr ebx, 0x10
mov edx, dword [ecx + 0x130]
and ebx, 0x2000
and dh, 0xdf
or ebx, edx
mov edx, eax
mov dword [ecx + 0x130], ebx
mov ecx, dword [ebp + 0xc]
and edx, 1
mov esi, dword [ecx + 0x130]
shl edx, 0x12
and esi, 0xfffbffff
or edx, esi
mov dword [ecx + 0x130], edx
mov ecx, dword [ebp + 0xc]
mov edx, eax
and edx, 2
and eax, 0xc
mov esi, dword [ecx + 0x130]
push 1
shl edx, 0xe
and esi, 0xffff7fff
push 4
or edx, esi
push 1
mov dword [ecx + 0x130], edx
mov ecx, dword [ebp + 0xc]
shl eax, 0x13
mov edx, dword [ecx + 0x130]
and edx, 0xff9fffff
or eax, edx
mov dword [ecx + 0x130], eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.005363f0
add esp, 0x10
test eax, eax
je 0x53bfcd
mov ecx, dword [ebp + 0xc]
push ecx
push eax
push eax
push 2
call fcn.00546a20
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 0xc]
mov eax, dword [esi + 0x128]
push 0
test ah, 1
push esi
je 0x53c15f
call fcn.00550000
add esp, 8
test eax, eax
jne 0x53c16b
mov cl, byte [esi + 0x11c]
movsx eax, cl
dec eax
cmp eax, 6
ja case.default.0x53c005
jmp dword [eax*4 + 0x53c350]
mov eax, dword [esi + 0x30]
test eax, eax
je 0x53c01b
add eax, 4
mov dword [esi + 0x2c], eax
jmp 0x53c024
mov edx, dword [esi + 0x28]
add edx, 4
mov dword [esi + 0x2c], edx
mov eax, dword [esi + 0xb4]
mov ecx, dword [esi + 0x2c]
lea edx, [eax + ecx - 8]
mov dword [esi + 0x34], edx
jmp 0x53c0d6
mov eax, dword [esi + 0x30]
test eax, eax
jne 0x53c043
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0xb4]
mov edx, eax
mov dword [esi + 0x2c], eax
lea eax, [ecx + edx - 1]
mov dword [esi + 0x34], eax
jmp 0x53c0d6
mov eax, dword [esi + 0x30]
test eax, eax
je 0x53c063
mov dword [esi + 0x2c], eax
jmp 0x53c069
mov edx, dword [esi + 0x28]
mov dword [esi + 0x2c], edx
mov eax, dword [esi + 0xb4]
mov edx, dword [esi + 0x2c]
add edx, eax
mov eax, dword [esi + 0x12c]
test eax, 0x8000000
mov dword [esi + 0x34], edx
je 0x53c0fb
mov eax, dword [esi + 0x128]
test ah, 1
je 0x53c0d6
test ah, 0x10
je 0x53c0d6
cmp cl, 1
jne 0x53c0d6
add edx, 0xfffffffe
mov dword [esi + 0x34], edx
jmp 0x53c0d6
push esi
push 0xc000002c
push 0xc000002c
push 1
call fcn.00546a20
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x249
push 0x582554
push 2
push 0xc0000008
call fcn.005469f0
add esp, 0x10
test dword [esi + 0x12c], 0x8000000
je 0x53c0fb
mov eax, dword [esi + 0x128]
test ah, 1
je 0x53c0fb
test ah, 0x10
je 0x53c0fb
cmp byte [esi + 0x11c], 1
je 0x53c131
mov al, byte [esi + 0x11e]
cmp al, 2
jne 0x53c118
mov al, byte [esi + 0x11c]
cmp al, 7
je 0x53c131
cmp al, 6
je 0x53c131
dec dword [esi + 0x34]
jmp 0x53c131
cmp al, 1
jne 0x53c131
mov al, byte [esi + 0x11c]
cmp al, 7
je 0x53c12d
cmp al, 6
je 0x53c12d
dec dword [esi + 0x34]
add dword [esi + 0x2c], 5
mov eax, dword [esi + 0x2c]
mov dword [esi + 0x3c], 0
mov dword [esi + 0x38], eax
mov eax, dword [ebp + 0xc]
cmp byte [eax + 0x11e], 1
jne 0x53c26a
mov ecx, dword [eax + 0x2c]
mov byte [ecx], 0x20
mov eax, dword [ebp + 0xc]
inc dword [eax + 0x2c]
jmp 0x53c26a
call fcn.00550000
add esp, 8
test eax, eax
je 0x53c187
push esi
push 0xc0000026
push 0xc0000026
push 1
call fcn.00546a20
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movsx eax, byte [esi + 0x11c]
dec eax
cmp eax, 6
ja case.default.0x53c198
jmp dword [eax*4 + 0x53c36c]
mov eax, dword [esi + 0x30]
test eax, eax
je 0x53c1b6
mov byte [eax + 2], 1
mov edx, dword [esi + 0x30]
mov byte [edx + 3], 0
mov eax, dword [esi + 0x30]
jmp 0x53c1c7
mov ecx, dword [esi + 0x28]
mov byte [ecx + 2], 1
mov edx, dword [esi + 0x28]
mov byte [edx + 3], 0
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0xb4]
add eax, 4
add ecx, eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x34], ecx
jmp 0x53c26a
mov eax, dword [esi + 0x30]
test eax, eax
je 0x53c1ec
add eax, 4
mov dword [esi + 0x2c], eax
jmp 0x53c1f5
mov edx, dword [esi + 0x28]
add edx, 4
mov dword [esi + 0x2c], edx
mov eax, dword [esi + 0xb4]
mov ecx, dword [esi + 0x2c]
lea edx, [eax + ecx - 8]
mov dword [esi + 0x34], edx
jmp 0x53c26a
mov eax, dword [esi + 0x30]
test eax, eax
jne 0x53c211
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0xb4]
mov edx, eax
mov dword [esi + 0x2c], eax
lea eax, [ecx + edx - 1]
mov dword [esi + 0x34], eax
jmp 0x53c26a
mov eax, dword [esi + 0x30]
test eax, eax
je 0x53c23c
mov edx, dword [esi + 0xb4]
mov dword [esi + 0x2c], eax
add edx, eax
mov dword [esi + 0x34], edx
jmp 0x53c26a
mov ecx, dword [esi + 0x28]
mov edx, dword [esi + 0xb4]
mov eax, ecx
mov dword [esi + 0x2c], ecx
add edx, eax
mov dword [esi + 0x34], edx
jmp 0x53c26a
push 0x24f
push str.E:_forrtl_build_for_stop.c
push 2
push 0xc0000008
call fcn.005469f0
add esp, 0x10
mov ecx, dword [ebp + 0x10]
xor eax, eax
test ecx, ecx
jle 0x53c28a
mov esi, ecx
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 0xc]
mov bl, byte [eax + ecx]
inc eax
mov edx, dword [edx + 0x2c]
cmp eax, esi
mov byte [edx + eax - 1], bl
jl 0x53c278
mov ecx, dword [ebp + 8]
xor eax, eax
test ecx, ecx
jle 0x53c2ae
mov esi, dword [ebp - 0xc]
mov edi, ecx
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov bl, byte [eax + esi]
mov edx, dword [edx + 0x2c]
add edx, eax
inc eax
cmp eax, edi
mov byte [edx + ecx], bl
jl 0x53c29b
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
lea edx, [eax + ecx]
mov eax, dword [ebp + 0xc]
mov esi, dword [eax + 0x2c]
add esi, edx
mov dword [eax + 0x2c], esi
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [eax + 0x128]
test ch, 1
je 0x53c2d8
call fcn.0054f090
jmp 0x53c2dd
call fcn.0054ec90
add esp, 4
test eax, eax
je 0x53c2fb
mov ecx, dword [ebp + 0xc]
push ecx
push eax
push eax
push 1
call fcn.00546a20
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xbc]
push eax
call fcn.0054a4b0
add esp, 4
call fcn.00554400
mov eax, dword [0x5a3d24]
mov edi, dword [ebp + 0x14]
mov esi, dword [ebp + 0x18]
mov dword [0x5a0360], 0
test eax, eax
je 0x53c33f
mov ecx, esi
dec ecx
neg ecx
sbb ecx, ecx
not ecx
and ecx, edi
push ecx
call fcn.0056edf0
add esp, 4
dec esi
neg esi
sbb esi, esi
not esi
and esi, edi
push esi
call fcn.0056446a
mov edi, edi
push edi
rcl byte [ebx], 12
rcl byte [ebx], 0xa1
rcl byte [ebx], 0xc
rcl byte [ebx], 0x57
rcl byte [ebx], 0x39
rcl byte [ebx], 0x39
rcl byte [ebx], 0x25
ret 0x53