Function at 0x443907
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x5a7774]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x11c], 1
mov eax, dword [0x5b3dac]
mov dword [ebp - 0x130], eax
cmp dword [ebp - 0x130], 0xc
ja case.0x4438e8.1
mov ecx, dword [ebp - 0x130]
movzx edx, byte [ecx + 0x443d8c]
jmp dword [edx*4 + 0x443d74]
mov dword [ebp - 0x114], str..png
jmp 0x44394e
mov dword [ebp - 0x114], str..eps
jmp 0x44394e
mov dword [ebp - 0x114], str..svg
jmp 0x44394e
mov dword [ebp - 0x114], str..xpm
jmp 0x44394e
mov dword [ebp - 0x114], str..txt
jmp 0x44394e
push 0x588884
call fcn.0050eb24
mov ecx, 0x20
shl ecx, 1
add eax, ecx
push eax
call fcn.00511a6b
add esp, 8
push 1
call fcn.0051192a
cmp dword [ebp + 0x10], 0
jne 0x443977
push str.An_output_filename_must_be_specified_to_store_the_structured_images._n
call fcn.0050eb24
mov edx, 0x20
shl edx, 1
add eax, edx
push eax
call fcn.00511a6b
add esp, 8
push 1
call fcn.0051192a
mov eax, dword [ebp + 0x10]
push eax
call fcn.00512155
add esp, 4
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0
jne 0x4439b5
push str.Failed_to_allocate_memory._n
call fcn.0050eb24
mov ecx, 0x20
shl ecx, 1
add eax, ecx
push eax
call fcn.00511a6b
add esp, 8
push 1
call fcn.0051192a
mov edx, dword [ebp - 0x114]
push edx
call fcn.0050e330
add esp, 4
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x110]
push eax
call fcn.0050e330
add esp, 4
cmp eax, dword [ebp - 0x128]
jbe 0x443a3a
mov ecx, dword [ebp - 0x110]
push ecx
call fcn.0050e330
add esp, 4
add eax, dword [ebp - 0x110]
sub eax, dword [ebp - 0x128]
mov dword [ebp - 0x120], eax
mov edx, dword [ebp - 0x120]
push edx
mov eax, dword [ebp - 0x114]
push eax
call fcn.005121de
add esp, 8
test eax, eax
jne 0x443a3a
mov ecx, dword [ebp - 0x120]
push ecx
call fcn.00512155
add esp, 4
mov dword [ebp - 0x118], eax
mov edx, dword [ebp - 0x120]
mov byte [edx], 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00443840
add esp, 8
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 0
jne 0x443a95
call fcn.0050e648
cmp dword [eax], 0x22
jne 0x443a81
push str.Failed_to_encode_the_input_data:_Input_data_too_large_n
call fcn.0050eb24
mov edx, 0x20
shl edx, 1
add eax, edx
push eax
call fcn.00511a6b
add esp, 8
jmp 0x443a8e
push str.Failed_to_encode_the_input_data
call fcn.005114fc
add esp, 4
push 1
call fcn.0051192a
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x10c], eax
jmp 0x443ab2
mov ecx, dword [ebp - 0x10c]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x10c], edx
cmp dword [ebp - 0x10c], 0
je 0x443d2f
mov eax, dword [ebp - 0x10c]
cmp dword [eax], 0
jne 0x443aed
push str.Failed_to_encode_the_input_data._n
call fcn.0050eb24
mov ecx, 0x20
shl ecx, 1
add eax, ecx
push eax
call fcn.00511a6b
add esp, 8
push 1
call fcn.0051192a
cmp dword [ebp - 0x118], 0
je 0x443b26
mov edx, dword [ebp - 0x118]
push edx
mov eax, dword [ebp - 0x11c]
push eax
mov ecx, dword [ebp - 0x110]
push ecx
push str._s__02d_s
push 0x104
lea edx, [ebp - 0x108]
push edx
call fcn.00511c31
add esp, 0x18
jmp 0x443b4d
mov eax, dword [ebp - 0x11c]
push eax
mov ecx, dword [ebp - 0x110]
push ecx
push str._s__02d
push 0x104
lea edx, [ebp - 0x108]
push edx
call fcn.00511c31
add esp, 0x14
cmp dword [0x5b3da8], 0
je 0x443b84
mov eax, dword [ebp - 0x10c]
mov ecx, dword [eax]
mov edx, dword [ecx]
push edx
lea eax, [ebp - 0x108]
push eax
push str.File:__s__Version:__d_n
call fcn.0050eb24
mov ecx, 0x20
shl ecx, 1
add eax, ecx
push eax
call fcn.00511a6b
add esp, 0x10
mov edx, dword [0x5b3dac]
mov dword [ebp - 0x12c], edx
cmp dword [ebp - 0x12c], 0xc
ja case.default.0x443ba3
mov eax, dword [ebp - 0x12c]
jmp dword [eax*4 + 0x443d9c]
mov ecx, dword [0x5b3dac]
push ecx
lea edx, [ebp - 0x108]
push edx
mov eax, dword [ebp - 0x10c]
mov ecx, dword [eax]
push ecx
call fcn.00441940
add esp, 0xc
jmp 0x443d1b
lea edx, [ebp - 0x108]
push edx
mov eax, dword [ebp - 0x10c]
mov ecx, dword [eax]
push ecx
call fcn.00442130
add esp, 8
jmp 0x443d1b
lea edx, [ebp - 0x108]
push edx
mov eax, dword [ebp - 0x10c]
mov ecx, dword [eax]
push ecx
call fcn.00442450
add esp, 8
jmp 0x443d1b
lea edx, [ebp - 0x108]
push edx
mov eax, dword [ebp - 0x10c]
mov ecx, dword [eax]
push ecx
call fcn.004428b0
add esp, 8
jmp 0x443d1b
lea edx, [ebp - 0x108]
push edx
mov eax, dword [ebp - 0x10c]
mov ecx, dword [eax]
push ecx
call fcn.00442d30
add esp, 8
jmp 0x443d1b
push 1
lea edx, [ebp - 0x108]
push edx
mov eax, dword [ebp - 0x10c]
mov ecx, dword [eax]
push ecx
call fcn.00443350
add esp, 0xc
jmp 0x443d1b
push 0
lea edx, [ebp - 0x108]
push edx
mov eax, dword [ebp - 0x10c]
mov ecx, dword [eax]
push ecx
call fcn.00443350
add esp, 0xc
jmp 0x443d1b
push 0
push 0
lea edx, [ebp - 0x108]
push edx
mov eax, dword [ebp - 0x10c]
mov ecx, dword [eax]
push ecx
call fcn.00443070
add esp, 0x10
jmp 0x443d1b
push 0
push 0
lea edx, [ebp - 0x108]
push edx
mov eax, dword [ebp - 0x10c]
mov ecx, dword [eax]
push ecx
call fcn.00443070
add esp, 0x10
jmp 0x443d1b
push 1
push 0
lea edx, [ebp - 0x108]
push edx
mov eax, dword [ebp - 0x10c]
mov ecx, dword [eax]
push ecx
call fcn.00443070
add esp, 0x10
jmp 0x443d1b
push 1
push 0
lea edx, [ebp - 0x108]
push edx
mov eax, dword [ebp - 0x10c]
mov ecx, dword [eax]
push ecx
call fcn.00443070
add esp, 0x10
jmp 0x443d1b
push str.Unknown_image_type._n
call fcn.0050eb24
mov edx, 0x20
shl edx, 1
add eax, edx
push eax
call fcn.00511a6b
add esp, 8
push 1
call fcn.0051192a
mov eax, dword [ebp - 0x11c]
add eax, 1
mov dword [ebp - 0x11c], eax
jmp 0x443aa3
mov ecx, dword [ebp - 0x110]
push ecx
call fcn.00510121
add esp, 4
cmp dword [ebp - 0x118], 0
je 0x443d56
mov edx, dword [ebp - 0x118]
push edx
call fcn.00510121
add esp, 4
mov eax, dword [ebp - 0x124]
push eax
call fcn.004672a2
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050bf8a
mov esp, ebp
pop ebp
ret