Function at 0x434a37
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x5ae774]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x11c], 1
mov eax, dword [0x5bb54c]
mov dword [ebp - 0x130], eax
cmp dword [ebp - 0x130], 0xc
ja case.0x434a18.1
mov ecx, dword [ebp - 0x130]
movzx edx, byte [ecx + 0x434ebc]
jmp dword [edx*4 + 0x434ea4]
mov dword [ebp - 0x114], 0x58d648
jmp 0x434a7e
mov dword [ebp - 0x114], str..eps
jmp 0x434a7e
mov dword [ebp - 0x114], str..svg
jmp 0x434a7e
mov dword [ebp - 0x114], str..xpm
jmp 0x434a7e
mov dword [ebp - 0x114], str..txt
jmp 0x434a7e
push 0x58d6c4
call fcn.00511adb
mov ecx, 0x20
shl ecx, 1
add eax, ecx
push eax
call fcn.0051523b
add esp, 8
push 1
call fcn.005150f3
cmp dword [ebp + 0x10], 0
jne 0x434aa7
push str.An_output_filename_must_be_specified_to_store_the_structured_images._n
call fcn.00511adb
mov edx, 0x20
shl edx, 1
add eax, edx
push eax
call fcn.0051523b
add esp, 8
push 1
call fcn.005150f3
mov eax, dword [ebp + 0x10]
push eax
call fcn.005159ad
add esp, 4
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x110], 0
jne 0x434ae5
push str.Failed_to_allocate_memory._n
call fcn.00511adb
mov ecx, 0x20
shl ecx, 1
add eax, ecx
push eax
call fcn.0051523b
add esp, 8
push 1
call fcn.005150f3
mov edx, dword [ebp - 0x114]
push edx
call fcn.00510900
add esp, 4
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x110]
push eax
call fcn.00510900
add esp, 4
cmp eax, dword [ebp - 0x128]
jbe 0x434b6a
mov ecx, dword [ebp - 0x110]
push ecx
call fcn.00510900
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.00515a36
add esp, 8
test eax, eax
jne 0x434b6a
mov ecx, dword [ebp - 0x120]
push ecx
call fcn.005159ad
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.00434970
add esp, 8
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 0
jne 0x434bc5
call fcn.00515959
cmp dword [eax], 0x22
jne 0x434bb1
push str.Failed_to_encode_the_input_data:_Input_data_too_large_n
call fcn.00511adb
mov edx, 0x20
shl edx, 1
add eax, edx
push eax
call fcn.0051523b
add esp, 8
jmp 0x434bbe
push str.Failed_to_encode_the_input_data
call fcn.00514cc5
add esp, 4
push 1
call fcn.005150f3
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x10c], eax
jmp 0x434be2
mov ecx, dword [ebp - 0x10c]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x10c], edx
cmp dword [ebp - 0x10c], 0
je 0x434e5f
mov eax, dword [ebp - 0x10c]
cmp dword [eax], 0
jne 0x434c1d
push str.Failed_to_encode_the_input_data._n
call fcn.00511adb
mov ecx, 0x20
shl ecx, 1
add eax, ecx
push eax
call fcn.0051523b
add esp, 8
push 1
call fcn.005150f3
cmp dword [ebp - 0x118], 0
je 0x434c56
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.00515401
add esp, 0x18
jmp 0x434c7d
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.00515401
add esp, 0x14
cmp dword [0x5bb548], 0
je 0x434cb4
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.00511adb
mov ecx, 0x20
shl ecx, 1
add eax, ecx
push eax
call fcn.0051523b
add esp, 0x10
mov edx, dword [0x5bb54c]
mov dword [ebp - 0x12c], edx
cmp dword [ebp - 0x12c], 0xc
ja case.default.0x434cd3
mov eax, dword [ebp - 0x12c]
jmp dword [eax*4 + 0x434ecc]
mov ecx, dword [0x5bb54c]
push ecx
lea edx, [ebp - 0x108]
push edx
mov eax, dword [ebp - 0x10c]
mov ecx, dword [eax]
push ecx
call fcn.00432a70
add esp, 0xc
jmp 0x434e4b
lea edx, [ebp - 0x108]
push edx
mov eax, dword [ebp - 0x10c]
mov ecx, dword [eax]
push ecx
call fcn.00433260
add esp, 8
jmp 0x434e4b
lea edx, [ebp - 0x108]
push edx
mov eax, dword [ebp - 0x10c]
mov ecx, dword [eax]
push ecx
call fcn.00433580
add esp, 8
jmp 0x434e4b
lea edx, [ebp - 0x108]
push edx
mov eax, dword [ebp - 0x10c]
mov ecx, dword [eax]
push ecx
call fcn.004339e0
add esp, 8
jmp 0x434e4b
lea edx, [ebp - 0x108]
push edx
mov eax, dword [ebp - 0x10c]
mov ecx, dword [eax]
push ecx
call fcn.00433e60
add esp, 8
jmp 0x434e4b
push 1
lea edx, [ebp - 0x108]
push edx
mov eax, dword [ebp - 0x10c]
mov ecx, dword [eax]
push ecx
call fcn.00434480
add esp, 0xc
jmp 0x434e4b
push 0
lea edx, [ebp - 0x108]
push edx
mov eax, dword [ebp - 0x10c]
mov ecx, dword [eax]
push ecx
call fcn.00434480
add esp, 0xc
jmp 0x434e4b
push 0
push 0
lea edx, [ebp - 0x108]
push edx
mov eax, dword [ebp - 0x10c]
mov ecx, dword [eax]
push ecx
call fcn.004341a0
add esp, 0x10
jmp 0x434e4b
push 0
push 0
lea edx, [ebp - 0x108]
push edx
mov eax, dword [ebp - 0x10c]
mov ecx, dword [eax]
push ecx
call fcn.004341a0
add esp, 0x10
jmp 0x434e4b
push 1
push 0
lea edx, [ebp - 0x108]
push edx
mov eax, dword [ebp - 0x10c]
mov ecx, dword [eax]
push ecx
call fcn.004341a0
add esp, 0x10
jmp 0x434e4b
push 1
push 0
lea edx, [ebp - 0x108]
push edx
mov eax, dword [ebp - 0x10c]
mov ecx, dword [eax]
push ecx
call fcn.004341a0
add esp, 0x10
jmp 0x434e4b
push str.Unknown_image_type._n
call fcn.00511adb
mov edx, 0x20
shl edx, 1
add eax, edx
push eax
call fcn.0051523b
add esp, 8
push 1
call fcn.005150f3
mov eax, dword [ebp - 0x11c]
add eax, 1
mov dword [ebp - 0x11c], eax
jmp 0x434bd3
mov ecx, dword [ebp - 0x110]
push ecx
call fcn.00511256
add esp, 4
cmp dword [ebp - 0x118], 0
je 0x434e86
mov edx, dword [ebp - 0x118]
push edx
call fcn.00511256
add esp, 4
mov eax, dword [ebp - 0x124]
push eax
call fcn.0046b33b
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005101e9
mov esp, ebp
pop ebp
ret