Function at 0x433d53
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x5ac774]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x11c], 1
mov eax, dword [0x5b950c]
mov dword [ebp - 0x130], eax
cmp dword [ebp - 0x130], 0xc
ja case.0x433d28.1
mov ecx, dword [ebp - 0x130]
movzx edx, byte [ecx + 0x4341cc]
jmp dword [edx*4 + 0x4341b4]
mov dword [ebp - 0x114], 0x58b4a8
jmp 0x433d8e
mov dword [ebp - 0x114], str..eps
jmp 0x433d8e
mov dword [ebp - 0x114], str..svg
jmp 0x433d8e
mov dword [ebp - 0x114], str..xpm
jmp 0x433d8e
mov dword [ebp - 0x114], str..txt
jmp 0x433d8e
push 0x58b530
call fcn.005106cc
mov ecx, 0x20
shl ecx, 1
add eax, ecx
push eax
call fcn.00513e8b
add esp, 8
push 1
call fcn.00513d43
cmp dword [ebp + 0x10], 0
jne 0x433db7
push str.An_output_filename_must_be_specified_to_store_the_structured_images._n
call fcn.005106cc
mov edx, 0x20
shl edx, 1
add eax, edx
push eax
call fcn.00513e8b
add esp, 8
push 1
call fcn.00513d43
mov eax, dword [ebp + 0x10]
push eax
call fcn.005145fd
add esp, 4
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0
jne 0x433df5
push str.Failed_to_allocate_memory._n
call fcn.005106cc
mov ecx, 0x20
shl ecx, 1
add eax, ecx
push eax
call fcn.00513e8b
add esp, 8
push 1
call fcn.00513d43
mov edx, dword [ebp - 0x114]
push edx
call fcn.0050f5b0
add esp, 4
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x110]
push eax
call fcn.0050f5b0
add esp, 4
cmp eax, dword [ebp - 0x128]
jbe 0x433e7a
mov ecx, dword [ebp - 0x110]
push ecx
call fcn.0050f5b0
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.00514686
add esp, 8
test eax, eax
jne 0x433e7a
mov ecx, dword [ebp - 0x120]
push ecx
call fcn.005145fd
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.00433c80
add esp, 8
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 0
jne 0x433ed5
call fcn.005145a9
cmp dword [eax], 0x22
jne 0x433ec1
push str.Failed_to_encode_the_input_data:_Input_data_too_large_n
call fcn.005106cc
mov edx, 0x20
shl edx, 1
add eax, edx
push eax
call fcn.00513e8b
add esp, 8
jmp 0x433ece
push str.Failed_to_encode_the_input_data
call fcn.00513915
add esp, 4
push 1
call fcn.00513d43
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x10c], eax
jmp 0x433ef2
mov ecx, dword [ebp - 0x10c]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x10c], edx
cmp dword [ebp - 0x10c], 0
je 0x43416f
mov eax, dword [ebp - 0x10c]
cmp dword [eax], 0
jne 0x433f2d
push str.Failed_to_encode_the_input_data._n
call fcn.005106cc
mov ecx, 0x20
shl ecx, 1
add eax, ecx
push eax
call fcn.00513e8b
add esp, 8
push 1
call fcn.00513d43
cmp dword [ebp - 0x118], 0
je 0x433f66
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.00514051
add esp, 0x18
jmp 0x433f8d
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.00514051
add esp, 0x14
cmp dword [0x5b9508], 0
je 0x433fc4
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.005106cc
mov ecx, 0x20
shl ecx, 1
add eax, ecx
push eax
call fcn.00513e8b
add esp, 0x10
mov edx, dword [0x5b950c]
mov dword [ebp - 0x12c], edx
cmp dword [ebp - 0x12c], 0xc
ja case.default.0x433fe3
mov eax, dword [ebp - 0x12c]
jmp dword [eax*4 + 0x4341dc]
mov ecx, dword [0x5b950c]
push ecx
lea edx, [ebp - 0x108]
push edx
mov eax, dword [ebp - 0x10c]
mov ecx, dword [eax]
push ecx
call fcn.00431d80
add esp, 0xc
jmp 0x43415b
lea edx, [ebp - 0x108]
push edx
mov eax, dword [ebp - 0x10c]
mov ecx, dword [eax]
push ecx
call fcn.00432570
add esp, 8
jmp 0x43415b
lea edx, [ebp - 0x108]
push edx
mov eax, dword [ebp - 0x10c]
mov ecx, dword [eax]
push ecx
call fcn.00432890
add esp, 8
jmp 0x43415b
lea edx, [ebp - 0x108]
push edx
mov eax, dword [ebp - 0x10c]
mov ecx, dword [eax]
push ecx
call fcn.00432cf0
add esp, 8
jmp 0x43415b
lea edx, [ebp - 0x108]
push edx
mov eax, dword [ebp - 0x10c]
mov ecx, dword [eax]
push ecx
call fcn.00433170
add esp, 8
jmp 0x43415b
push 1
lea edx, [ebp - 0x108]
push edx
mov eax, dword [ebp - 0x10c]
mov ecx, dword [eax]
push ecx
call fcn.00433790
add esp, 0xc
jmp 0x43415b
push 0
lea edx, [ebp - 0x108]
push edx
mov eax, dword [ebp - 0x10c]
mov ecx, dword [eax]
push ecx
call fcn.00433790
add esp, 0xc
jmp 0x43415b
push 0
push 0
lea edx, [ebp - 0x108]
push edx
mov eax, dword [ebp - 0x10c]
mov ecx, dword [eax]
push ecx
call fcn.004334b0
add esp, 0x10
jmp 0x43415b
push 0
push 0
lea edx, [ebp - 0x108]
push edx
mov eax, dword [ebp - 0x10c]
mov ecx, dword [eax]
push ecx
call fcn.004334b0
add esp, 0x10
jmp 0x43415b
push 1
push 0
lea edx, [ebp - 0x108]
push edx
mov eax, dword [ebp - 0x10c]
mov ecx, dword [eax]
push ecx
call fcn.004334b0
add esp, 0x10
jmp 0x43415b
push 1
push 0
lea edx, [ebp - 0x108]
push edx
mov eax, dword [ebp - 0x10c]
mov ecx, dword [eax]
push ecx
call fcn.004334b0
add esp, 0x10
jmp 0x43415b
push str.Unknown_image_type._n
call fcn.005106cc
mov edx, 0x20
shl edx, 1
add eax, edx
push eax
call fcn.00513e8b
add esp, 8
push 1
call fcn.00513d43
mov eax, dword [ebp - 0x11c]
add eax, 1
mov dword [ebp - 0x11c], eax
jmp 0x433ee3
mov ecx, dword [ebp - 0x110]
push ecx
call fcn.0050ff06
add esp, 4
cmp dword [ebp - 0x118], 0
je 0x434196
mov edx, dword [ebp - 0x118]
push edx
call fcn.0050ff06
add esp, 4
mov eax, dword [ebp - 0x124]
push eax
call fcn.00469fc9
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050ee9b
mov esp, ebp
pop ebp
ret