Function at 0x5b3c30
Capabilities:
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x67eb38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
mov al, byte [ecx + 0x15]
push ebx
push ebp
push esi
test al, al
push edi
mov dword [esp + 0x34], ecx
jne 0x5b3c6f
push 0
push 0
push str.SiplProcess____RawResize:_Call_QueryResize_before_RawResize_for_getting_information__nabout_the_image_data_to_be_resized._This_is_required_for_memory__nallocation
call fcn.0062dd90
mov eax, 0xfffffffb
jmp 0x5b463f
mov edi, dword [esp + 0x48]
test edi, edi
je 0x5b462c
mov esi, dword [esp + 0x54]
test esi, esi
je 0x5b462c
mov ebp, dword [esp + 0x58]
test ebp, ebp
jle 0x5b4617
mov ebx, dword [esp + 0x5c]
test ebx, ebx
jle 0x5b4617
mov eax, dword [0x6ed544]
mov dword [esp + 0x18], eax
mov edx, dword [esp + 0x60]
mov dword [esp + 0x40], 0
cmp edx, 8
je 0x5b3d22
cmp edx, 0xa
je 0x5b3d22
cmp edx, 0xc
je 0x5b3d22
cmp edx, 0x10
je 0x5b3d22
cmp edx, 0x18
je 0x5b3d22
mov ecx, dword [ecx + 0x18]
push str.image_in_RawResize_is_neither_8__10__12__16_bit_nor_24_bit._nHence_cant_read._n_nTerminate_application_
push ecx
push str.RawResize:
lea edx, [esp + 0x24]
push str._s__s__s
push edx
call fcn.0060da8c
mov eax, dword [esp + 0x2c]
add esp, 0x14
push 0
push 4
push eax
call fcn.0062dd90
cmp eax, 6
jne 0x5b3d07
push 0
call fcn.005e246f
lea ecx, [esp + 0x18]
mov dword [esp + 0x40], 0xffffffff
call fcn.00619871
mov eax, 0xfffffff2
jmp 0x5b463f
fild dword [esp + 0x4c]
xor ecx, ecx
cmp edx, 8
fidiv dword [esp + 0x58]
fst dword [esp + 0x14]
fild dword [esp + 0x50]
fidiv dword [esp + 0x5c]
fstp dword [esp + 0x10]
jne 0x5b3d48
mov ecx, 1
jmp 0x5b3d68
cmp edx, 0xa
je 0x5b3d63
cmp edx, 0xc
je 0x5b3d63
cmp edx, 0x10
je 0x5b3d63
cmp edx, 0x18
jne 0x5b3d68
mov ecx, 3
jmp 0x5b3d68
mov ecx, 2
fcomp dword [0x6901ac]
fnstsw ax
test ah, 0x40
je 0x5b3db5
fld dword [esp + 0x10]
fcomp dword [0x6901ac]
fnstsw ax
test ah, 0x40
je 0x5b3db5
imul ecx, ebp
imul ecx, ebx
mov edx, ecx
mov dword [esp + 0x40], 0xffffffff
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
call fcn.00619871
mov eax, 1
jmp 0x5b463f
cmp edx, 8
jne 0x5b40c0
lea eax, [ebx*4]
push eax
call fcn.00619f42
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x5b3e34
mov eax, dword [esp + 0x5c]
xor ebp, ebp
test eax, eax
jle 0x5b3e34
mov esi, ebx
mov ecx, dword [esp + 0x58]
push ecx
call fcn.00619f42
mov edi, eax
add esp, 4
test edi, edi
mov dword [esi], edi
je 0x5b3ff3
mov ecx, dword [esp + 0x58]
xor eax, eax
mov edx, ecx
add esi, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
inc ebp
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x5c]
cmp ebp, eax
jl 0x5b3de0
mov edx, dword [0x6f3018]
mov ecx, dword [0x6f301c]
inc edx
add ecx, eax
mov dword [0x6f3018], edx
mov dword [0x6f301c], ecx
fld qword [0x69e340]
fld qword [0x6902f8]
call fcn.005e2020
fsub qword [0x68dbd0]
call fcn.005e1f50
test ebx, ebx
mov dword [esp + 0x60], eax
je 0x5b3e92
mov ecx, dword [esp + 0x5c]
test ecx, ecx
jle 0x5b3e92
mov eax, dword [esp + 0x54]
mov edx, ebx
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x58]
mov edi, dword [edx]
mov ebp, ecx
mov esi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
add edx, 4
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x54]
mov edi, ebp
add eax, edi
dec ecx
mov dword [esp + 0x54], ecx
jne 0x5b3e6a
mov eax, dword [esp + 0x50]
mov dword [esp + 0x28], 0
test eax, eax
jle 0x5b406f
mov eax, dword [esp + 0x48]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x20], 0
test eax, eax
jle 0x5b404c
fild dword [esp + 0x28]
fdiv dword [esp + 0x10]
fld st(0)
call fcn.005e1f50
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x54], eax
fild dword [esp + 0x54]
mov edx, dword [esp + 0x2c]
dec ecx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x1c], edx
fstp dword [esp + 0x48]
fsub dword [esp + 0x48]
fild dword [esp + 0x54]
fild dword [esp + 0x20]
fdiv dword [esp + 0x14]
fld st(0)
call fcn.005e1f50
mov dword [esp + 0x54], eax
fild dword [esp + 0x54]
fstp dword [esp + 0x54]
fsub dword [esp + 0x54]
fstp dword [esp + 0x24]
fld dword [esp + 0x54]
fcomp st(1)
fnstsw ax
test ah, 1
je 0x5b402a
mov eax, dword [esp + 0x5c]
dec eax
mov dword [esp + 0x30], eax
fild dword [esp + 0x30]
fcomp dword [esp + 0x48]
fnstsw ax
test ah, 0x41
jne 0x5b402a
fld dword [esp + 0x54]
call fcn.005e1f50
fld dword [esp + 0x48]
mov esi, eax
call fcn.005e1f50
fld dword [0x6901ac]
fsub dword [esp + 0x24]
fld dword [esp + 0x54]
fadd dword [0x6901ac]
mov edi, dword [ebx + eax*4]
call fcn.005e1f50
fld dword [esp + 0x48]
fadd dword [0x6901ac]
mov ebp, eax
call fcn.005e1f50
xor ecx, ecx
xor edx, edx
mov cl, byte [esi + edi]
mov dl, byte [edi + ebp]
mov dword [esp + 0x54], ecx
mov eax, dword [ebx + eax*4]
fild dword [esp + 0x54]
mov dword [esp + 0x54], edx
xor ecx, ecx
mov cl, byte [esi + eax]
xor edx, edx
fmul st(1)
fild dword [esp + 0x54]
mov dl, byte [eax + ebp]
mov dword [esp + 0x54], ecx
fmul dword [esp + 0x24]
faddp st(1)
fld dword [0x6901ac]
fsub st(4)
fmulp st(1)
fild dword [esp + 0x54]
mov dword [esp + 0x54], edx
fmul st(2)
fild dword [esp + 0x54]
fmul dword [esp + 0x24]
faddp st(1)
fmul st(4)
faddp st(1)
call fcn.005e1f50
mov cl, byte [esp + 0x60]
cmp al, cl
fstp st(0)
ja 0x5b4024
mov ecx, dword [esp + 0x1c]
mov byte [ecx], al
jmp 0x5b402a
test ebp, ebp
jle 0x5b4014
mov esi, ebx
mov eax, dword [esi]
test eax, eax
je 0x5b400e
push eax
call fcn.00619f6b
add esp, 4
mov dword [esi], 0
add esi, 4
dec ebp
jne 0x5b3ff9
push ebx
call fcn.00619f6b
add esp, 4
xor ebx, ebx
jmp 0x5b3e34
mov edx, dword [esp + 0x1c]
mov byte [edx], cl
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x4c]
inc eax
inc edx
cmp eax, ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], edx
jl 0x5b3ef6
fstp st(0)
fstp st(0)
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
add edx, ecx
mov ecx, dword [esp + 0x50]
inc eax
cmp eax, ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
jl 0x5b3eae
test ebx, ebx
je 0x5b45f7
mov ebp, dword [esp + 0x5c]
test ebp, ebp
jle 0x5b409e
mov esi, ebx
mov edi, ebp
mov eax, dword [esi]
test eax, eax
je 0x5b4098
push eax
call fcn.00619f6b
add esp, 4
mov dword [esi], 0
add esi, 4
dec edi
jne 0x5b4083
push ebx
call fcn.00619f6b
mov ecx, dword [0x6f3018]
mov eax, dword [0x6f301c]
add esp, 4
dec ecx
mov dword [0x6f3018], ecx
sub eax, ebp
jmp 0x5b45f2
cmp edx, 0xa
je 0x5b42c2
cmp edx, 0xc
je 0x5b42c2
cmp edx, 0x10
je 0x5b42c2
cmp edx, 0x18
jne 0x5b45f7
mov esi, dword [esp + 0x5c]
mov edi, dword [esp + 0x58]
xor ebx, ebx
lea edx, [esp + 0x1c]
push ebx
push esi
push edi
push edx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call fcn.005b7e80
push ebx
push esi
lea eax, [esp + 0x38]
push edi
push eax
call fcn.005b7e80
push ebx
push esi
lea ecx, [esp + 0x4c]
push edi
push ecx
call fcn.005b7e80
mov ebp, dword [esp + 0x7c]
mov esi, dword [esp + 0x80]
mov edi, ebp
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
imul edi, esi
add esp, 0x30
push edi
push 8
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push edi
push 8
mov dword [esp + 0x54], eax
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push edi
push 8
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
fld qword [0x69e340]
fld qword [0x6902f8]
mov dword [esp + 0x50], eax
call fcn.005e2020
fsub qword [0x68dbd0]
call fcn.005e1f50
mov edx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x58]
push edx
mov edx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x60]
push edx
push eax
push ecx
call fcn.005b8ca0
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x78]
push edx
mov edx, dword [esp + 0x78]
push eax
mov eax, dword [esp + 0x78]
push ecx
mov ecx, dword [esp + 0x40]
push edx
push eax
push ecx
push esi
push ebp
mov edx, dword [esp + 0x84]
push edx
call fcn.005b8d50
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x9c]
push eax
mov eax, dword [esp + 0x9c]
push ecx
mov ecx, dword [esp + 0x9c]
push edx
mov edx, dword [esp + 0x68]
push eax
push ecx
push edx
push esi
push ebp
push ebx
call fcn.005b8d50
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0xc0]
add esp, 0x60
push eax
mov eax, dword [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x60]
push edx
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x60]
push ecx
push edx
push esi
push ebp
push eax
call fcn.005b8d50
add esp, 0x24
test edi, edi
jle 0x5b4269
mov ebp, dword [esp + 0x50]
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
sub ebp, ebx
mov esi, ebx
sub ecx, ebx
mov dl, byte [esi + ebp]
mov byte [eax], dl
mov dl, byte [esi]
inc eax
mov byte [eax], dl
mov dl, byte [ecx + esi]
inc eax
mov byte [eax], dl
inc eax
inc esi
dec edi
jne 0x5b4254
mov esi, dword [esp + 0x5c]
lea eax, [esp + 0x1c]
push esi
push eax
call fcn.005b7fa0
lea ecx, [esp + 0x28]
push esi
push ecx
call fcn.005b7fa0
lea edx, [esp + 0x34]
push esi
push edx
call fcn.005b7fa0
mov eax, dword [esp + 0x64]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
add esp, 0x18
push eax
push 0
call esi
mov edi, dword [sym.imp.KERNEL32.dll_HeapFree]
push eax
call edi
push ebx
push 0
call esi
push eax
call edi
mov ecx, dword [esp + 0x50]
push ecx
push 0
call esi
push eax
call edi
jmp 0x5b45f7
mov edx, dword [esp + 0x5c]
lea eax, [edx*4]
push eax
call fcn.00619f42
mov ebx, eax
add esp, 4
test ebx, ebx
mov dword [esp + 0x28], ebx
je 0x5b434c
mov eax, dword [esp + 0x5c]
xor ebp, ebp
test eax, eax
jle 0x5b434c
mov ecx, dword [esp + 0x58]
mov esi, ebx
lea edx, [ecx + ecx]
mov dword [esp + 0x2c], edx
mov eax, dword [esp + 0x2c]
push eax
call fcn.00619f42
mov edi, eax
add esp, 4
test edi, edi
mov dword [esi], edi
je 0x5b451c
mov ecx, dword [esp + 0x2c]
xor eax, eax
mov edx, ecx
add esi, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
inc ebp
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x5c]
cmp ebp, eax
jl 0x5b42f7
mov ecx, dword [0x6f3018]
inc ecx
mov dword [0x6f3018], ecx
mov ecx, dword [0x6f301c]
lea edx, [ecx + eax*2]
mov dword [0x6f301c], edx
fld qword [0x69e340]
fild dword [esp + 0x60]
call fcn.005e2020
fsub qword [0x68dbd0]
call fcn.005e1f50
test ebx, ebx
mov dword [esp + 0x60], eax
je 0x5b43b3
mov eax, dword [esp + 0x5c]
test eax, eax
jle 0x5b43b3
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
mov edx, ebx
lea ebp, [eax + eax]
mov eax, dword [esp + 0x54]
mov dword [esp + 0x54], ecx
mov edi, dword [edx]
mov ecx, ebp
mov ebx, ecx
mov esi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
add eax, ebp
and ecx, 3
add edx, 4
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x54]
dec ecx
mov dword [esp + 0x54], ecx
jne 0x5b438b
mov ebx, dword [esp + 0x28]
mov eax, dword [esp + 0x50]
mov dword [esp + 0x20], 0
test eax, eax
jle 0x5b45a6
mov edx, dword [esp + 0x48]
mov dword [esp + 0x1c], edx
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x28], 0
test eax, eax
jle 0x5b4581
fild dword [esp + 0x20]
fdiv dword [esp + 0x10]
fld st(0)
call fcn.005e1f50
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x58]
fild dword [esp + 0x54]
mov ecx, dword [esp + 0x1c]
dec eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x24], ecx
fstp dword [esp + 0x48]
fsub dword [esp + 0x48]
fild dword [esp + 0x54]
fild dword [esp + 0x28]
fdiv dword [esp + 0x14]
fld st(0)
call fcn.005e1f50
mov dword [esp + 0x54], eax
fild dword [esp + 0x54]
fstp dword [esp + 0x54]
fsub dword [esp + 0x54]
fstp dword [esp + 0x2c]
fld dword [esp + 0x54]
fcomp st(1)
fnstsw ax
test ah, 1
je 0x5b455d
mov edx, dword [esp + 0x5c]
dec edx
mov dword [esp + 0x30], edx
fild dword [esp + 0x30]
fcomp dword [esp + 0x48]
fnstsw ax
test ah, 0x41
jne 0x5b455d
fld dword [esp + 0x54]
call fcn.005e1f50
fld dword [esp + 0x48]
mov esi, eax
shl esi, 1
call fcn.005e1f50
fld dword [0x6901ac]
fsub dword [esp + 0x2c]
fld dword [esp + 0x54]
fadd dword [0x6901ac]
mov ebp, dword [ebx + eax*4]
call fcn.005e1f50
fld dword [esp + 0x48]
fadd dword [0x6901ac]
mov edi, eax
shl edi, 1
call fcn.005e1f50
xor ecx, ecx
xor edx, edx
mov cx, word [esi + ebp]
mov dx, word [edi + ebp]
mov dword [esp + 0x54], ecx
mov eax, dword [ebx + eax*4]
fild dword [esp + 0x54]
mov dword [esp + 0x54], edx
xor ecx, ecx
mov cx, word [esi + eax]
xor edx, edx
fmul st(1)
fild dword [esp + 0x54]
mov dx, word [edi + eax]
mov dword [esp + 0x54], ecx
fmul dword [esp + 0x2c]
faddp st(1)
fld dword [0x6901ac]
fsub st(4)
fmulp st(1)
fild dword [esp + 0x54]
mov dword [esp + 0x54], edx
fmul st(2)
fild dword [esp + 0x54]
fmul dword [esp + 0x2c]
faddp st(1)
fmul st(4)
faddp st(1)
call fcn.005e1f50
cmp ax, word [esp + 0x60]
fstp st(0)
ja 0x5b4551
mov ecx, dword [esp + 0x24]
mov word [ecx], ax
jmp 0x5b455d
test ebp, ebp
jle 0x5b453d
mov esi, ebx
mov eax, dword [esi]
test eax, eax
je 0x5b4537
push eax
call fcn.00619f6b
add esp, 4
mov dword [esi], 0
add esi, 4
dec ebp
jne 0x5b4522
push ebx
call fcn.00619f6b
add esp, 4
xor ebx, ebx
mov dword [esp + 0x28], ebx
jmp 0x5b434c
mov eax, dword [esp + 0x24]
mov dx, word [esp + 0x60]
mov word [eax], dx
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x4c]
inc eax
add edx, 2
cmp eax, ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], edx
jl 0x5b4417
fstp st(0)
fstp st(0)
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
add ecx, ecx
add edx, ecx
mov ecx, dword [esp + 0x50]
inc eax
mov dword [esp + 0x1c], edx
cmp eax, ecx
mov dword [esp + 0x20], eax
jl 0x5b43cf
test ebx, ebx
je 0x5b45f7
mov edi, dword [esp + 0x5c]
test edi, edi
jle 0x5b45d1
mov esi, ebx
mov ebp, edi
mov eax, dword [esi]
test eax, eax
je 0x5b45cb
push eax
call fcn.00619f6b
add esp, 4
mov dword [esi], 0
add esi, 4
dec ebp
jne 0x5b45b6
push ebx
call fcn.00619f6b
mov ecx, dword [0x6f3018]
mov edx, dword [0x6f301c]
add esp, 4
dec ecx
neg edi
mov dword [0x6f3018], ecx
lea eax, [edx + edi*2]
mov dword [0x6f301c], eax
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x40], 0xffffffff
mov byte [ecx + 0x15], 0
lea ecx, [esp + 0x18]
call fcn.00619871
mov eax, 1
jmp 0x5b463f
push 0
push 0
push str.SiplProcess____RawResize:_Height_Width_parameter_is_less_than_or_0
call fcn.0062dd90
mov eax, 0xfffffffb
jmp 0x5b463f
push 0
push 0
push str.SiplProcess____RawResize:_Src_Dst_pointer_is_NULL
call fcn.0062dd90
mov eax, 0xfffffff4
mov ecx, dword [esp + 0x38]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret 0x1c