Function at 0x43ffb0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x5b7780]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x11c], 1
mov eax, dword [0x5c45e0]
mov dword [ebp - 0x130], eax
cmp dword [ebp - 0x130], 0xc
ja case.0x43fff8.1
mov ecx, dword [ebp - 0x130]
movzx edx, byte [ecx + 0x44049c]
jmp dword [edx*4 + 0x440484]
mov dword [ebp - 0x114], 0x595024
jmp 0x44005e
mov dword [ebp - 0x114], str..eps
jmp 0x44005e
mov dword [ebp - 0x114], str..svg
jmp 0x44005e
mov dword [ebp - 0x114], str..xpm
jmp 0x44005e
mov dword [ebp - 0x114], str..txt
jmp 0x44005e
push 0x5950a0
call fcn.0051ed92
mov ecx, 0x20
shl ecx, 1
add eax, ecx
push eax
call fcn.00520c4b
add esp, 8
push 1
call fcn.00520b03
cmp dword [ebp + 0x10], 0
jne 0x440087
push str.An_output_filename_must_be_specified_to_store_the_structured_images._n
call fcn.0051ed92
mov edx, 0x20
shl edx, 1
add eax, edx
push eax
call fcn.00520c4b
add esp, 8
push 1
call fcn.00520b03
mov eax, dword [ebp + 0x10]
push eax
call fcn.00521335
add esp, 4
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0
jne 0x4400c5
push str.Failed_to_allocate_memory._n
call fcn.0051ed92
mov ecx, 0x20
shl ecx, 1
add eax, ecx
push eax
call fcn.00520c4b
add esp, 8
push 1
call fcn.00520b03
mov edx, dword [ebp - 0x114]
push edx
call fcn.00516540
add esp, 4
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x110]
push eax
call fcn.00516540
add esp, 4
cmp eax, dword [ebp - 0x128]
jbe 0x44014a
mov ecx, dword [ebp - 0x110]
push ecx
call fcn.00516540
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.005213be
add esp, 8
test eax, eax
jne 0x44014a
mov ecx, dword [ebp - 0x120]
push ecx
call fcn.00521335
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.0043ff50
add esp, 8
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 0
jne 0x4401a5
call fcn.0051e84a
cmp dword [eax], 0x22
jne 0x440191
push str.Failed_to_encode_the_input_data:_Input_data_too_large_n
call fcn.0051ed92
mov edx, 0x20
shl edx, 1
add eax, edx
push eax
call fcn.00520c4b
add esp, 8
jmp 0x44019e
push str.Failed_to_encode_the_input_data
call fcn.005206d5
add esp, 4
push 1
call fcn.00520b03
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x10c], eax
jmp 0x4401c2
mov ecx, dword [ebp - 0x10c]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x10c], edx
cmp dword [ebp - 0x10c], 0
je 0x44043f
mov eax, dword [ebp - 0x10c]
cmp dword [eax], 0
jne 0x4401fd
push str.Failed_to_encode_the_input_data._n
call fcn.0051ed92
mov ecx, 0x20
shl ecx, 1
add eax, ecx
push eax
call fcn.00520c4b
add esp, 8
push 1
call fcn.00520b03
cmp dword [ebp - 0x118], 0
je 0x440236
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.00520e11
add esp, 0x18
jmp 0x44025d
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.00520e11
add esp, 0x14
cmp dword [0x5c45e4], 0
je 0x440294
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.0051ed92
mov ecx, 0x20
shl ecx, 1
add eax, ecx
push eax
call fcn.00520c4b
add esp, 0x10
mov edx, dword [0x5c45e0]
mov dword [ebp - 0x12c], edx
cmp dword [ebp - 0x12c], 0xc
ja case.default.0x4402b3
mov eax, dword [ebp - 0x12c]
jmp dword [eax*4 + 0x4404ac]
mov ecx, dword [0x5c45e0]
push ecx
lea edx, [ebp - 0x108]
push edx
mov eax, dword [ebp - 0x10c]
mov ecx, dword [eax]
push ecx
call fcn.0043e050
add esp, 0xc
jmp 0x44042b
lea edx, [ebp - 0x108]
push edx
mov eax, dword [ebp - 0x10c]
mov ecx, dword [eax]
push ecx
call fcn.0043e840
add esp, 8
jmp 0x44042b
lea edx, [ebp - 0x108]
push edx
mov eax, dword [ebp - 0x10c]
mov ecx, dword [eax]
push ecx
call fcn.0043eb60
add esp, 8
jmp 0x44042b
lea edx, [ebp - 0x108]
push edx
mov eax, dword [ebp - 0x10c]
mov ecx, dword [eax]
push ecx
call fcn.0043efc0
add esp, 8
jmp 0x44042b
lea edx, [ebp - 0x108]
push edx
mov eax, dword [ebp - 0x10c]
mov ecx, dword [eax]
push ecx
call fcn.0043f440
add esp, 8
jmp 0x44042b
push 1
lea edx, [ebp - 0x108]
push edx
mov eax, dword [ebp - 0x10c]
mov ecx, dword [eax]
push ecx
call fcn.0043fa60
add esp, 0xc
jmp 0x44042b
push 0
lea edx, [ebp - 0x108]
push edx
mov eax, dword [ebp - 0x10c]
mov ecx, dword [eax]
push ecx
call fcn.0043fa60
add esp, 0xc
jmp 0x44042b
push 0
push 0
lea edx, [ebp - 0x108]
push edx
mov eax, dword [ebp - 0x10c]
mov ecx, dword [eax]
push ecx
call fcn.0043f780
add esp, 0x10
jmp 0x44042b
push 0
push 0
lea edx, [ebp - 0x108]
push edx
mov eax, dword [ebp - 0x10c]
mov ecx, dword [eax]
push ecx
call fcn.0043f780
add esp, 0x10
jmp 0x44042b
push 1
push 0
lea edx, [ebp - 0x108]
push edx
mov eax, dword [ebp - 0x10c]
mov ecx, dword [eax]
push ecx
call fcn.0043f780
add esp, 0x10
jmp 0x44042b
push 1
push 0
lea edx, [ebp - 0x108]
push edx
mov eax, dword [ebp - 0x10c]
mov ecx, dword [eax]
push ecx
call fcn.0043f780
add esp, 0x10
jmp 0x44042b
push str.Unknown_image_type._n
call fcn.0051ed92
mov edx, 0x20
shl edx, 1
add eax, edx
push eax
call fcn.00520c4b
add esp, 8
push 1
call fcn.00520b03
mov eax, dword [ebp - 0x11c]
add eax, 1
mov dword [ebp - 0x11c], eax
jmp 0x4401b3
mov ecx, dword [ebp - 0x110]
push ecx
call fcn.005165cb
add esp, 4
cmp dword [ebp - 0x118], 0
je 0x440466
mov edx, dword [ebp - 0x118]
push edx
call fcn.005165cb
add esp, 4
mov eax, dword [ebp - 0x124]
push eax
call fcn.0047164b
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00516529
mov esp, ebp
pop ebp
ret