Function at 0x45d220
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x21c
mov edi, dword [eax + 0x9c]
test edi, edi
je 0x45d37b
mov ebx, eax
movzx eax, byte [eax + 0xc8]
mov ebp, ecx
mov esi, edx
test al, 2
je 0x45d390
and eax, 0xfffffffd
cmp dword [edi + 0x70], 1
mov byte [ebx + 0xc8], al
je 0x45d268
mov edx, 0x20
mov eax, ebx
call sym._write_char
cmp esi, 7
ja case.0x45d271.0
jmp dword [esi*4 + 0x46c250]
mov edx, dword [ebx + 0x9c]
lea edi, [esp + 0x114]
mov ecx, 0x3f
mov eax, dword [edx]
mov dword [esp + 0x37], 0x5453494c
mov dword [esp + 0x3b], 0x45524944
mov dword [esp + 0x2c], eax
xor eax, eax
rep stosd dword es:[edi], eax
mov eax, dword [ebx]
mov dword [esp + 0x3f], 0x44455443
lea ecx, [esp + 0x30]
mov byte [esp + 0x43], 0
mov dword [esp + 0x110], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x60], 1
mov dword [esp + 0x64], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x30], 0
test al, 0x20
je 0x45d2f9
mov ecx, dword [ebx + 0x18]
test al, 0x40
je 0x45d4e0
mov eax, dword [ebx + 0x14]
mov edi, dword [ebx + 0x10]
add dword [edx + 0x1b8], 1
mov dword [esp + 0x14], eax
lea eax, [esp + 0x44]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x37]
mov dword [esp + 8], eax
lea eax, [esp + 0x2c]
mov dword [esp + 4], eax
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], 0xc
mov dword [esp + 0x10], ecx
mov dword [esp], ebp
call dword [ebx + 0x128]
mov eax, dword [ebx + 0x9c]
sub dword [eax + 0x1b8], 1
mov dword [esp + 4], 3
mov dword [esp], eax
call sym.__gfortrani_fbuf_flush_list
cmp esi, 6
movzx eax, byte [ebx + 0xc8]
sete dl
shl edx, 5
and eax, 0xffffffdf
or eax, edx
mov byte [ebx + 0xc8], al
add esp, 0x21c
pop ebx
pop esi
pop edi
pop ebp
ret
cmp edx, 6
jne 0x45d400
test al, 0x20
je 0x45d3b0
mov eax, dword [edi + 0x80]
test eax, eax
je case.0x45d271.6
cmp eax, 3
je case.0x45d271.6
mov eax, dword [0x137714d4]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym.__gfortrani_write_block
test eax, eax
je case.0x45d271.6
mov edx, dword [ebx + 0x9c]
cmp dword [edx + 0x1b4], 4
je 0x45d501
mov edx, dword [0x137714d4]
mov dword [esp], eax
mov dword [esp + 8], edx
mov edx, dword [0x137714d8]
mov dword [esp + 4], edx
call sym._memcpy
jmp 0x45d268
mov eax, dword [0x137714d4]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sym.__gfortrani_write_block
test eax, eax
jne 0x45d3c9
jmp 0x45d268
mov eax, dword [esp + 0x234]
mov ecx, dword [esp + 0x230]
mov edx, ebp
mov dword [esp], eax
mov eax, ebx
call sym._write_complex
mov eax, dword [ebx + 0x9c]
jmp 0x45d350
mov edx, dword [esp + 0x230]
mov eax, ebp
call sym._extract_int
or edx, eax
mov eax, ebx
cmp edx, 1
sbb edx, edx
and edx, 0xfffffff2
add edx, 0x54
call sym._write_char
mov eax, dword [ebx + 0x9c]
jmp 0x45d350
mov ecx, dword [esp + 0x230]
mov eax, ebx
mov edx, ebp
call sym._write_integer
mov eax, dword [ebx + 0x9c]
jmp 0x45d350
mov eax, dword [esp + 0x230]
mov dword [esp + 4], ebp
mov dword [esp], ebx
mov dword [esp + 8], eax
call sym.__gfortrani_write_real
mov eax, dword [ebx + 0x9c]
jmp 0x45d350
mov eax, dword [esp + 0x234]
mov dword [esp + 4], 1
mov edx, ebp
mov ecx, dword [esp + 0x230]
mov dword [esp], eax
mov eax, ebx
call sym._write_character
mov eax, dword [ebx + 0x9c]
jmp 0x45d350
mov edi, 0x100
lea eax, [esp + 0x110]
jmp 0x45d307
mov dword [esp + 4], str.list_formatted_write__:_Bad_type
mov dword [esp], ebx
call sym.__gfortrani_internal_error
mov edi, dword [0x137714d4]
mov edx, dword [0x137714d8]
test edi, edi
jle 0x45d268
add edi, edx
mov esi, esi
lea edi, [edi]
add edx, 1
movsx ecx, byte [edx - 1]
add eax, 4
mov dword [eax - 4], ecx
cmp edx, edi
jne 0x45d520
jmp 0x45d268