Function at 0x53cd70
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov ecx, dword [0x599fa0]
push ebx
push esi
xor esi, esi
cmp ecx, esi
push edi
mov dword [ebp - 4], esi
mov eax, 1
jne 0x53cd92
mov dword [0x599fa0], eax
cmp dword [0x599fa4], esi
je 0x53cda6
push esi
mov dword [0x599fa0], esi
call fcn.005654ba
mov ebx, dword [ebp + 0x10]
mov dword [0x599fa4], eax
mov eax, dword [ebp + 0xc]
cmp eax, esi
jne 0x53cdef
test ebx, 0x8000000
jne 0x53cdef
call fcn.00555450
mov eax, dword [0x59d964]
mov dword [0x599fa0], esi
cmp eax, esi
je 0x53cde9
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.0056fe40
add esp, 4
push esi
call fcn.005654ba
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 0x53ce33
cmp eax, esi
jne 0x53ce1a
mov dword [ebp - 8], str.Stop___Program_terminated.
mov dword [ebp + 0x10], 0x1a
cmp dword [ebp + 0x18], esi
je 0x53ce33
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 0x53ce3e
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.0054af80
add esp, 0x10
cmp eax, esi
je 0x53ce7d
test bl, 1
je 0x53ce69
pop edi
pop esi
and eax, 0xffff
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
push 0x583544
push ecx
push 2
push eax
call fcn.00547a40
add esp, 0x10
mov esi, dword [ebp + 0xc]
test byte [esi + 0x128], 1
jne 0x53d040
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.00537460
add esp, 0x10
test eax, eax
je 0x53d03d
mov ecx, dword [ebp + 0xc]
push ecx
push eax
push eax
push 2
call fcn.00547a70
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 0x53d1cf
call fcn.00551050
add esp, 8
test eax, eax
jne 0x53d1db
mov cl, byte [esi + 0x11c]
movsx eax, cl
dec eax
cmp eax, 6
ja case.default.0x53d075
jmp dword [eax*4 + 0x53d3c0]
mov eax, dword [esi + 0x30]
test eax, eax
je 0x53d08b
add eax, 4
mov dword [esi + 0x2c], eax
jmp 0x53d094
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 0x53d146
mov eax, dword [esi + 0x30]
test eax, eax
jne 0x53d0b3
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 0x53d146
mov eax, dword [esi + 0x30]
test eax, eax
je 0x53d0d3
mov dword [esi + 0x2c], eax
jmp 0x53d0d9
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 0x53d16b
mov eax, dword [esi + 0x128]
test ah, 1
je 0x53d146
test ah, 0x10
je 0x53d146
cmp cl, 1
jne 0x53d146
add edx, 0xfffffffe
mov dword [esi + 0x34], edx
jmp 0x53d146
push esi
push 0xc000002c
push 0xc000002c
push 1
call fcn.00547a70
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x249
push 0x58354c
push 2
push 0xc0000008
call fcn.00547a40
add esp, 0x10
test dword [esi + 0x12c], 0x8000000
je 0x53d16b
mov eax, dword [esi + 0x128]
test ah, 1
je 0x53d16b
test ah, 0x10
je 0x53d16b
cmp byte [esi + 0x11c], 1
je 0x53d1a1
mov al, byte [esi + 0x11e]
cmp al, 2
jne 0x53d188
mov al, byte [esi + 0x11c]
cmp al, 7
je 0x53d1a1
cmp al, 6
je 0x53d1a1
dec dword [esi + 0x34]
jmp 0x53d1a1
cmp al, 1
jne 0x53d1a1
mov al, byte [esi + 0x11c]
cmp al, 7
je 0x53d19d
cmp al, 6
je 0x53d19d
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 0x53d2da
mov ecx, dword [eax + 0x2c]
mov byte [ecx], 0x20
mov eax, dword [ebp + 0xc]
inc dword [eax + 0x2c]
jmp 0x53d2da
call fcn.00551050
add esp, 8
test eax, eax
je 0x53d1f7
push esi
push 0xc0000026
push 0xc0000026
push 1
call fcn.00547a70
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.0x53d208
jmp dword [eax*4 + 0x53d3dc]
mov eax, dword [esi + 0x30]
test eax, eax
je 0x53d226
mov byte [eax + 2], 1
mov edx, dword [esi + 0x30]
mov byte [edx + 3], 0
mov eax, dword [esi + 0x30]
jmp 0x53d237
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 0x53d2da
mov eax, dword [esi + 0x30]
test eax, eax
je 0x53d25c
add eax, 4
mov dword [esi + 0x2c], eax
jmp 0x53d265
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 0x53d2da
mov eax, dword [esi + 0x30]
test eax, eax
jne 0x53d281
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 0x53d2da
mov eax, dword [esi + 0x30]
test eax, eax
je 0x53d2ac
mov edx, dword [esi + 0xb4]
mov dword [esi + 0x2c], eax
add edx, eax
mov dword [esi + 0x34], edx
jmp 0x53d2da
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 0x53d2da
push 0x24f
push str.E:_forrtl_build_for_stop.c
push 2
push 0xc0000008
call fcn.00547a40
add esp, 0x10
mov ecx, dword [ebp + 0x10]
xor eax, eax
test ecx, ecx
jle 0x53d2fa
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 0x53d2e8
mov ecx, dword [ebp + 8]
xor eax, eax
test ecx, ecx
jle 0x53d31e
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 0x53d30b
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 0x53d348
call fcn.005500e0
jmp 0x53d34d
call fcn.0054fce0
add esp, 4
test eax, eax
je 0x53d36b
mov ecx, dword [ebp + 0xc]
push ecx
push eax
push eax
push 1
call fcn.00547a70
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.0054b500
add esp, 4
call fcn.00555450
mov eax, dword [0x59d964]
mov edi, dword [ebp + 0x14]
mov esi, dword [ebp + 0x18]
mov dword [0x599fa0], 0
test eax, eax
je 0x53d3af
mov ecx, esi
dec ecx
neg ecx
sbb ecx, ecx
not ecx
and ecx, edi
push ecx
call fcn.0056fe40
add esp, 4
dec esi
neg esi
sbb esi, esi
not esi
and esi, edi
push esi
call fcn.005654ba
mov edi, edi
invalid